nim_websitecreator
nim_websitecreator copied to clipboard
Page editor doesn't handle <textarea> well
The HTML editor for pages doesn't seem to handle <textarea>
well:
The text A more complete example
should be part of the page to be edited.
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>
.
Solution https://stackoverflow.com/a/2844617 :grey_question:
More of a CodeMirror bug than our bug, but still. 🤷♀️