BookStack/resources/js
Dan Brown b2f863e1f1
WYSIWG: Improved handling of cross-block code block creation
- Updated code content to get specific text selection instead of using
  node-based handling which could return the whole document when
  multiple top-level nodes were in selection.
- Simplified how code gets applied into the page to not be node based
  but use native editor methods to replace the selection. Allows
  creation from half-way through a block.

Tested on chrome+Firefox on Fedora 35.
Builds upon changes in #3246.
For #3200.
2022-02-06 15:19:18 +00:00
..
components WYSIWG: Improved handling of cross-block code block creation 2022-02-06 15:19:18 +00:00
services Fixed code block language parsing issue 2022-01-04 11:54:24 +00:00
index.js Updated some comment elements and standardised more JS 2020-07-28 18:19:18 +01:00