1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-04-25 14:42:44 +03:00
Dan Brown 2b746425c9
Lexical: Fixed code in lists, removed extra old alignment code
Code in lists could throw error on parse due to inner <code> tag being
parsed but not actually used within a <pre>, so this updates the
importDOM to disregard childdren for code blocks.

This also improves the invariant implementation to not be so
dev/debugger based, and to include vars in the output.
2025-02-16 15:09:33 +00:00
..
2024-09-18 13:43:39 +01:00

Lexical Editor Framework

This is a fork and import of the Lexical editor at the version of v0.17.1 for direct use and modification in BookStack. This was done due to fighting many of the opinionated defaults in Lexical during editor development.

Only components used, or intended to be used, were copied in at this point.

License

The original work built upon in this directory and below is under the copyright of Meta Platforms, Inc. and affiliates. The original license can be seen in the ORIGINAL-LEXICAL-LICENSE file.

Files may have since been added or modified with changes being under the license and copyright of the BookStack project as a whole.