]> BookStack Code Mirror - bookstack/commit
Lexical: Updated URL handling, added mouse handling
authorDan Brown <redacted>
Fri, 25 Jul 2025 12:58:48 +0000 (13:58 +0100)
committerDan Brown <redacted>
Fri, 25 Jul 2025 12:58:48 +0000 (13:58 +0100)
commitc54101c603a3e8e06c372de673a811d41a1f1f9d
tree02dd7cafe4d8b041a7bf540a8d9f4b549fcb31bf
parent865e5aecc99ebb8051f7b1c99b11710bd9709383
Lexical: Updated URL handling, added mouse handling

- Removed URL protocol allow-list to allow any as per old editor.
- Added mouse handling, so that clicks below many last hard-to-escape
  block types will add an empty new paragraph for easy escaping &
  editing.
resources/js/wysiwyg/index.ts
resources/js/wysiwyg/lexical/core/__tests__/utils/index.ts
resources/js/wysiwyg/lexical/link/index.ts
resources/js/wysiwyg/services/__tests__/mouse-handling.test.ts [new file with mode: 0644]
resources/js/wysiwyg/services/mouse-handling.ts [new file with mode: 0644]