BookStack/resources/js/code
Dan Brown f9e087330b
WYSIWYG: Added text direction support for code editor popup
Editor popup will now reflect the direction of the opened code block.
This also updates in-editor codemirror instances to correcly reflect/use
the direction if set on the inner code elem.

This also defaults new code blocks, when in RTL languages, to be started
in LTR, which can then be changed via in-editor direction controls if
needed. This is on the assumption that most code will be LTR (could not
find much examples of RTL code use).

Fixes #4943
2024-05-03 13:40:00 +01:00
..
index.mjs WYSIWYG: Added text direction support for code editor popup 2024-05-03 13:40:00 +01:00
languages.js Added clojure code language option 2023-04-23 14:16:31 +01:00
legacy-modes.mjs Added clojure code language option 2023-04-23 14:16:31 +01:00
setups.js Updated code view block line highlighting to only show on focus 2023-05-22 14:05:07 +01:00
simple-editor-interface.js Ran eslint fix on existing codebase 2023-04-18 22:20:02 +01:00
themes.js Ran eslint fix on existing codebase 2023-04-18 22:20:02 +01:00
views.js JS Events: Added CM pre/post init events 2023-11-01 17:56:52 +00:00