1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00
BookStack/resources/js
Dan Brown 5947f59a04
Updated strategy for empty newline sections
- For some reason, TinyMCE would handle empty paragraphs with a '&nbsp'
  by default but this would be removed when the paragraph had an
  attribute. This was fine in the old editor.
- This changes the approach to use '<br>' tags within elements
  for "spaced emptiness".
- For compatbility with any existing empty paragraphs, I updated the
  styles to show default height for empty paragraph sections.
- This also makes changes to help preserve encoded &nbsp; html tags
  since they were getting converted along the journey.

Related to #3302
2022-03-01 17:26:06 +00:00
..
components Improved WYSIWYG code block behaviour via range of fixes 2022-02-27 17:21:24 +00:00
services Split out codemirror JS to its own module 2022-02-08 11:10:01 +00:00
wysiwyg Updated strategy for empty newline sections 2022-03-01 17:26:06 +00:00
app.js Split out codemirror JS to its own module 2022-02-08 11:10:01 +00:00
code.mjs Revamped workings of WYSIWYG code blocks 2022-02-09 19:24:27 +00:00