nim_websitecreator icon indicating copy to clipboard operation
nim_websitecreator copied to clipboard

Page editor doesn't handle <textarea> well

Open joachimschmidt557 opened this issue 5 years ago • 2 comments

The HTML editor for pages doesn't seem to handle <textarea> well:

image

The text A more complete example should be part of the page to be edited.

joachimschmidt557 avatar Jul 28 '19 10:07 joachimschmidt557

Confirmed, this is a bug. The page data is inserted into a <textarea id="editordataCodemirror">, which codemirror formats. The problem occurs, when the pagedata also includes <textarea>-fields, due to codemirror is closing the editor on first </textarea>.

ThomasTJdev avatar Sep 01 '19 13:09 ThomasTJdev

Solution https://stackoverflow.com/a/2844617 :grey_question:

More of a CodeMirror bug than our bug, but still. 🤷‍♀️

juancarlospaco avatar Sep 22 '19 22:09 juancarlospaco