You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I recently discovered Jodit and really like it. Thanks for all the effort the community put in here!
I'm wondering what the best approach is to extend the behavior of a "core" plugin (in this case image-properties). I want to have a set of possible css classes as a dropdown. I could fork the whole project and change the implementation but maybe there is another way to get there.
I tried to base a new class on the ImagePropteries plugin and remove/add the new one but that doesn't seem right.
Can someone provide some hints on how I could do this?
If there is no better way I'll fork and provide a pull request adding a allowedCssClasses option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I recently discovered Jodit and really like it. Thanks for all the effort the community put in here!
I'm wondering what the best approach is to extend the behavior of a "core" plugin (in this case image-properties). I want to have a set of possible css classes as a dropdown. I could fork the whole project and change the implementation but maybe there is another way to get there.
I tried to base a new class on the ImagePropteries plugin and remove/add the new one but that doesn't seem right.
Can someone provide some hints on how I could do this?
If there is no better way I'll fork and provide a pull request adding a allowedCssClasses option.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions