[Qgis-psc] Replace news feed content editor with html view?
Nyall Dawson
nyall.dawson at gmail.com
Wed May 20 16:20:36 PDT 2020
Hi PSC,
I'd like to raise the notion of replacing the existing rich text
editor on the news feed admin page with a simple plain text box which
accepts raw HTML input.
We've had issues in the past with formatted code being pasted in news
entries which breaks the display/layout of the item on the QGIS
client. And now we have an odd situation with the "A message from
Marco Bernasocchi" news item, where it has a huge blank gap forced
below the news item in QGIS.
This is being caused by this odd HTML block which appears in the item
content, which I cannot find anyway to remove from the rich text
editor:
<span id=\"docs-internal-guid-cb126a5f-7fff-3d55-2517-e7c137c58311\"
style=\"font-size: 11pt; font-family: Arial; color: #000000;
background-color: transparent; font-weight: 400; font-style: normal;
font-variant: normal; text-decoration: none; vertical-align: baseline;
white-space: pre-wrap;\"></span>
Could we remove the rich text editor and replace it with a raw html
entry box, so that news submitters will immediately see if their HTML
content is messy and to make it easier to remove unwanted tags/content
from the items?
Thanks!
Nyall
More information about the Qgis-psc
mailing list