Dan Brown
09fd0bc5b7
CM6: Got WYSIWYG code blocks working
...
Required monkey-patch to work around potential codemirror issue with
shadowdom+iframe usage.
Also updated JS packages to latest versions.
2023-04-16 23:50:11 +01:00
Dan Brown
74b4751a1c
CM6: Aligned styling with existing, improved theme handling
2023-04-16 16:05:16 +01:00
Dan Brown
74b76ecdb9
Updated cm6 theme handling to allow extension via API
...
Uses our custom event system, uses methods that take callables so that
internal dependancies can be passed.
2023-04-15 15:35:41 +01:00
Dan Brown
9874a53206
Added cm6 strategy for splitting and dyn. loading langs
...
Split out legacy modes to their own dynamically imported bundle to
reduce main code bundle size.
2023-04-14 18:08:57 +01:00
Dan Brown
257a703878
Addressed existing cm6 todos
...
- Updated clipboard handling
- Removed old clipboard package for browser-native API.
- Updated codemirror editor events to use new props for new data types.
2023-04-14 14:08:40 +01:00
Dan Brown
da3e4f5f75
Got md shortcuts working, marked actions for update
2023-04-11 11:48:58 +01:00
Dan Brown
572037ef1f
Got markdown editor barely functional
...
Updated content sync and preview scoll sync to work.
Many features commented out until they can be updated.
2023-04-10 15:01:44 +01:00
Dan Brown
dce5123452
Added own twig/smarty packages for cm6 lang support
2023-03-21 20:53:35 +00:00
Dan Brown
f51036b203
Added newer languages where possible
...
Cannot find existing option for twig/smarty, need to look other methods.
2023-02-17 22:14:34 +00:00
Dan Brown
9fd7a6abed
Added dark theme handling
2022-08-04 14:19:04 +01:00
Dan Brown
4757ed9453
Converted codemirror languges to new packages where available
...
Does increase bundle size massively though, Will need to think about
solutions for this.
2022-08-04 13:33:51 +01:00
Dan Brown
97146a6359
Added handling of codemirror 6 code languages
2022-08-03 19:40:16 +01:00
Dan Brown
d4f2fcdf79
Started codemirror update, In broken state
2022-08-02 20:11:02 +01:00