dasmikko / strapi-tiptap-editor

A drop-in replacement for the strapi editor
MIT License
64 stars 29 forks source link

Is it possible to add tiptap extensions on a per project basis? #38

Open steveHimself1397 opened 2 years ago

steveHimself1397 commented 2 years ago

Hi,

is it currently possible to add tiptap extensions? I have a couple of custom extensions, I developed some time ago for tip tap and would like to add thos in a new project where I would like to continue using tiptap within Strapi.

Any standardized way to extend the editor instance with our own extensions?

SalahAdDin commented 2 years ago

Hi,

is it currently possible to add tiptap extensions? I have a couple of custom extensions, I developed some time ago for tip tap and would like to add those in a new project where I would like to continue using tiptap within Strapi.

Any standardized way to extend the editor instance with our own extensions?

Well, it seems there is no documentation about it.

@dasmikko are you thinking about supporting plugins/extensions?

dasmikko commented 1 year ago

I'm working on using https://www.npmjs.com/package/patch-package to handle this.

It is necessary to do it this way, as the extensions has to be build.

I will write a guide on how to do this.

SalahAdDin commented 1 year ago

@dasmikko It should be fixed in the package itself.

dasmikko commented 1 year ago

@dasmikko It should be fixed in the package itself.

The reason im doing this, is because I can't seem to find a way to extend the node-package from strapi.