EditorjsBundle icon indicating copy to clipboard operation
EditorjsBundle copied to clipboard

Stimulus / Symfony UX compatibility

Open davidgorges opened this issue 4 years ago • 1 comments

Hi @tbmatuka

the project I am currently working on uses Stimulus / Turbo (part of symfony/ux). I added a stimulus controller and some glue code to make it work, but it requires a slightly different setup (different form theme, editorJS initialisation would be inside the stimulus controller).

I can work on a PR that adds Symfony UX compatibility if you are willing to have it in your bundle.

davidgorges avatar Dec 21 '21 16:12 davidgorges

If you can make it completely optional without breaking backwards compatibility, that's fine with me. I would prefer to have the compatibility as generic as possible, but there has to be something hardcoded to make it work at least any new dependencies should be optional. Also please add instructions to the Usage section of the readme.

tbmatuka avatar Dec 21 '21 17:12 tbmatuka