]> BookStack Code Mirror - bookstack/blob - resources/js/wysiwyg/todo.md
c62a6e524624b11ebf939b71230e89d9a2a38f67
[bookstack] / resources / js / wysiwyg / todo.md
1 # Lexical based editor todo
2
3 ## In progress
4
5 - Add Type: Video/media/embed
6     - TinyMce media embed supported:
7       - iframe
8       - embed
9       - object
10       - video - Can take sources
11       - audio  - Can take sources
12     - Pretty much all attributes look like they were supported.
13     - Core old logic seen here: https://github.com/tinymce/tinymce/blob/main/modules/tinymce/src/plugins/media/main/ts/core/DataToHtml.ts
14     - Copy/store attributes on node based on allow list?
15       - width, height, src, controls, etc... Take valid values from MDN
16
17 ## Main Todo
18
19 - Alignments: Use existing classes for blocks
20 - Alignments: Handle inline block content (image, video)
21 - Table features
22 - Image paste upload
23 - Keyboard shortcuts support
24 - Draft/change management (connect with page editor component)
25 - Add ID support to all block types
26 - Template drag & drop / insert
27 - Video attachment drop / insert
28 - Task list render/import from existing format
29 - Link popup menu for cross-content reference
30 - Link heading-based ID reference menu
31 - Image gallery integration for insert
32 - Image gallery integration for form
33 - Drawing gallery integration
34
35 ## Bugs
36
37 - Image resizing currently bugged, maybe change to ghost resizer in decorator instead of updating core node.
38 - Removing link around image via button deletes image, not just link 
39 - `SELECTION_CHANGE_COMMAND` not fired when clicking out of a table cell. Prevents toolbar hiding on table unselect.