You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here, the 'span' tag was inserted for no reason (#f2f2f5 is the default color) - also there's the empty 'strong' tags - this is the entire content of the post ...
these issues are difficult to reproduce since they seem to occur randomly
in the 2nd case, i simply entered 'abc' in an otherwise empty wysiwyg editor, then bolded it, then attempted to use the right arrow key to move the caret past the bold text (which doesn't work), then entered 'def', which was bold, so i used the toolbar button to un-bold the text
i have no explanation for the mess created in the 3rd and 4th cases
Tiny's status bar being disabled doesn't help in these cases
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
atomGit
changed the title
[Bug]: WYSIWUG editor inserts random, useless HTML
[Bug]: WYSIWYG editor inserts random, useless HTML
Jun 1, 2024
Operating system
linux
Publii version
0.45.2 (build 16609)
Post editor
WYSIWYG editor
Bug description
WYSIWYG editor inserts seemingly random, useless html at times
<code style="font-weight: var(--font-weight-normal);">
#f2f2f5
is the default color) - also there's the empty 'strong' tags - this is the entire content of the post ...<p><span style="color: #f2f2f5;">abc<strong> </strong>def</span></p>
<td><strong>Custom (</strong><span style="color: #f2f2f5;"><strong>optional</strong></span><strong>):</strong></td>
<p><code>$ yt-dlp --flat-playlist --print-to-file '<li>%(title)s (<a href="%(url)s">link</a>)</li>' 'playlist.txt' 'https://www.youtube.com/channel/UC-tQIeakd3uaiwjYHSy9Q'</code><code></code><code></code></p>
Steps to reproduce
these issues are difficult to reproduce since they seem to occur randomly
in the 2nd case, i simply entered 'abc' in an otherwise empty wysiwyg editor, then bolded it, then attempted to use the right arrow key to move the caret past the bold text (which doesn't work), then entered 'def', which was bold, so i used the toolbar button to un-bold the text
i have no explanation for the mess created in the 3rd and 4th cases
Tiny's status bar being disabled doesn't help in these cases
Relevant log output
No response
The text was updated successfully, but these errors were encountered: