Quill Adding Unwanted Line Breaks to Posted Text <p><br></p>
When pasting or typing text Quill is adding unnecessary line breaks to text, thus not working as a WYSIWYG editor, additionally it brings in all the Text Formatting during paste, this over writes Dark mode formatting.
Example of pasted text (Please view in Dark mode):
Sculpting began on the faces of Mount Rushmore in the Black Hills National Forest of South Dakota in 1927. It would take another 14 years until the faces of four of America’s most revered presidents were completed. According to the National Park Service, the first face to be chiseled was George Washington’s.
In 1909, in the first five-mile race at the Indianapolis Motor Speedway, 12,000 spectators watched Austrian engineer Louis Schwitzer win with an average speed of 57.4 miles per hour. Since 1911, the Indianapolis 500 has been held every year, except for 1917-1918 and 1942-1945, when the U.S. was involved in the two World Wars.
Possible solutions:
-
-
·
Roman L
- ·
hello, fixed by https://github.com/unaio/una/commit/cdec291489a5bb16f390f25c5d8137ce16ce8092
Thank you for report & advice!
-
·
Roman L
-
- · InPage
- ·
Thank you @Roman L will test it out tonight.
Awesome turn-around time.
-
- · InPage
-
·
In reply to Roman L
- ·
Hi @Roman L tested your fix, it works great for text, but it appears to have broken the
#hashtags -
-
·
Roman L
- ·
hello! thank you for you report!
Fixed by https://github.com/unaio/una/commit/1e1f78f454ada724ae174ddcdb07200796bc76ee
just add 'menthion-link', 'embed-link' to sys_quill_allowed_tags setting
-
·
Roman L
-
- · InPage
-
·
In reply to Roman L
- ·
Thank you @Roman L
-
- · InPage
-
·
In reply to Roman L
- ·
@Roman L when I applied those changes.
When the changes on this page "BxBaseEditorQuill.php" are applied I can not access the Update" page on Post to Context, it will not load.
-
-
·
Roman L
-
·
In reply to InPage
- ·
hello @InPage !
fixed by https://github.com/unaio/una/commit/5e887d1ef41f36ef0e82b8c8dd5ca2824421dddb
Thank you for your report!
-
·
Roman L
-
- · InPage
-
·
In reply to Roman L
- ·
Thank you, looks like that worked.
-
- · InPage
- ·
Hi @Roman L
Una 13 B2 - has problems with line breaks when pasting content from Telegram or Twitter into the editor.
-
-
·
Roman L
-
·
In reply to InPage
- ·
hello @InPage !
please describe the problem more detaily, with sceenshots
-
·
Roman L
-
- · InPage
- ·
Hi @Roman L
Please see the attached recording taken on MacOS, using Telegram (Desktop) and UNA website.
When you COPY from Telegram and PASTE into UNA, there are extra line breaks that get added. This problem does not happen if you add a discussion, but happens if you add other items, including in comments. (Please see paste below)
##### Begin Paste #####
NOW - Salman Rushdie is stabbed on stage in New York.
Rushdie has suffered a "stab wound to the neck, and was transported by helicopter to an area hospital."
The suspected assailant is in custody, NYPD say.
The award-winning novelist was previously targeted by Islamists after he released the novel The Satanic Verses.
Pakistan banned the book, and he was issued a fatwa – a death sentence - by Iran’s Ayatollah Khomeini in 1989.
https://www.disclose.tv/id/1558109869152018433/
@disclosetv
##### End Paste #####