2024-07-17 11:38:20 -04:00
|
|
|
# Lexical based editor todo
|
|
|
|
|
2024-07-18 06:19:11 -04:00
|
|
|
## In progress
|
|
|
|
|
2024-07-21 10:11:24 -04:00
|
|
|
- Add Type: Video/media/embed
|
|
|
|
- TinyMce media embed supported:
|
|
|
|
- iframe
|
|
|
|
- embed
|
|
|
|
- object
|
|
|
|
- video - Can take sources
|
|
|
|
- audio - Can take sources
|
|
|
|
- Pretty much all attributes look like they were supported.
|
|
|
|
- Core old logic seen here: https://github.com/tinymce/tinymce/blob/main/modules/tinymce/src/plugins/media/main/ts/core/DataToHtml.ts
|
|
|
|
- Copy/store attributes on node based on allow list?
|
|
|
|
- width, height, src, controls, etc... Take valid values from MDN
|
2024-07-18 06:19:11 -04:00
|
|
|
|
2024-07-17 11:38:20 -04:00
|
|
|
## Main Todo
|
|
|
|
|
|
|
|
- Alignments: Use existing classes for blocks
|
|
|
|
- Alignments: Handle inline block content (image, video)
|
|
|
|
- Table features
|
|
|
|
- Image paste upload
|
|
|
|
- Keyboard shortcuts support
|
|
|
|
- Global/shared editor events support
|
|
|
|
- Draft/change management (connect with page editor component)
|
|
|
|
- Add ID support to all block types
|
|
|
|
- Template drag & drop / insert
|
|
|
|
- Video attachment drop / insert
|
|
|
|
- Task list render/import from existing format
|
|
|
|
- Link popup menu for cross-content reference
|
|
|
|
- Link heading-based ID reference menu
|
|
|
|
- Image gallery integration for insert
|
|
|
|
- Image gallery integration for form
|
2024-07-18 06:19:11 -04:00
|
|
|
- Drawing gallery integration
|
2024-07-17 11:38:20 -04:00
|
|
|
|
|
|
|
## Bugs
|
|
|
|
|
|
|
|
- Image resizing currently bugged, maybe change to ghost resizer in decorator instead of updating core node.
|
2024-07-19 13:12:51 -04:00
|
|
|
- Table resize bars often floating around in wrong place, and shows on hover or interrupts mouse actions.
|
|
|
|
- Removing link around image via button deletes image, not just link
|