aperis-docs / react-static-plugin-aperis-doc-pages

0 stars 0 forks source link

Not compatible with latest Aperis extension (wrong `getContentsSchema()` option shape) #11

Open strogonoff opened 8 months ago

strogonoff commented 8 months ago

Here, it passes old options shape: https://github.com/aperis-docs/react-static-plugin-aperis-doc-pages/blob/a774f6a9b62b6f58000ccc5b80fb426faac38d72/src/node.api.ts#L195

The new options shape is declared here: https://github.com/paneron/extension-aperis-site/blob/e6c95e0dc510b03ad72804ad64265eb71f04e441/src/prosemirror/schema.ts#L43

It should 1) pin dependencies to working version combo (a7e77430e9324f6e4c4bfd097a31b80e1c4e1ec5, pending release), then 2) implement correct option shape (with asBase64 callback) and bump dependencies to latest Aperis version.