Description
Define a macro api decloupled from react of blocknote.
- define the api itself, with depencies to uniast
- define the services to be able to list macro and get their definition
- use the services in blocknote initialization to load all the registered macros (which should automatically update the slash action)
- migrate the existing macros (html) to their own packages and register them in the dependency manager
Example of packages architecture:
core/macros/macros-api
core/macros/macros-service (list all available macros, get a single macro descript by its id)
core/macros/macros-default
core/messages/messages-macro
core/html/html-macro
core/toc/toc-macro
Attachments
Issue Links
- blocks
-
CRISTAL-49 Support for the message macros
-
- Open
-
-
CRISTAL-677 Support html rendering of macros
-
- Open
-
-
CRISTAL-678 Introduce a macro edit UI
-
- Open
-
- is related to
-
CRISTAL-145 Implement concept of client-side Macro
-
- Open
-