replace EasyMDE (333KB) with OverType (118KB) in pages-edit.php

- Remove easymde.min.js (320KB) and easymde.min.css (13KB)
- Vendor overtype.min.js (118KB, v2.3.5)
- Replace <textarea name=content> + 60-line toolbar/SVG init with:
  - <input type=hidden name=content> for form submission
  - <div id=editor> as OverType mount target
  - 6-line init: value from hidden input, onChange syncs it back
- Net saving: ~215KB assets, ~54 lines of inline JS
This commit is contained in:
Pontoporeia
2026-04-06 15:19:33 +02:00
parent d51cd62088
commit 480451aa2b
10 changed files with 1018 additions and 114 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1005
public/assets/js/overtype.min.js vendored Normal file

File diff suppressed because one or more lines are too long