Version : 1.9.8
Operating System : Windows 10
What do you think should happen?
When pasting text from an external application, basic formatting with expected tags should be created.
What actually happens?
Extra tags are created.
I copied several paragraphs of text from a text editor. The text appeared to be correctly formatted once pasted into Wappler - eg <p>
tags were added in the relevant places (as well as extra pairs which I deleted). However I later noticed extra <span>
tags had been added before each paragraph:
<span style="font-size: 0.9375rem;"></span>
I copied this and pasted it into the search bar (to remove it). However what appeared after the paste was:
<span style="font-size: 0.9375rem;" dmxdomid="d31"></span>
I think this has always been an issue but I don’t very often come across it and haven’t got around to mentioning before.
I tried with the new experimental design view enabled; instead of the <span>
tags, this appeared before each paragraph:
<p wappler-empty="undefined" wappler-command="editContent"></p>
The paragraphs in the source text were separated by two returns, so this sort of makes sense - but it doesn’t look like it should appear.