]> BookStack Code Mirror - bookstack/commit
MD Editor: Worked to improve/fix positioning code
authorDan Brown <redacted>
Tue, 22 Jul 2025 15:42:47 +0000 (16:42 +0100)
committerDan Brown <redacted>
Tue, 22 Jul 2025 15:42:47 +0000 (16:42 +0100)
commit6621d55f3d2248a273554c0f780dbeef465e6b15
tree5909b8a0a2692d08e9ec097d2d6b043132373918
parentd55db06c01302c8a2e597c91620fbfb8ddfc6982
MD Editor: Worked to improve/fix positioning code

Still pending testing. Old logic did not work when lines would wrap, so
changing things to a character/line measuring technique.
Fixed some other isues too while testing shortcuts.
resources/js/markdown/actions.ts
resources/js/markdown/dom-handlers.ts
resources/js/markdown/index.mts
resources/js/markdown/inputs/codemirror.ts
resources/js/markdown/inputs/interface.ts
resources/js/markdown/inputs/textarea.ts