Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-676

Define a macro API

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • 0.23
    • 0.22
    • Macro
    • None
    • Unknown

    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

          Activity

            People

              ClementEraud Clément Eraud
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: