kaaaaaaaaaaai / editorjs-alignment-blocktune

53 stars 24 forks source link

Changing the alignment does not trigger editorjs onChange event #12

Open antoineol opened 1 year ago

antoineol commented 1 year ago

It is a bit annoying for cases when we have a live preview, relying on the onChange event.

Any workaround to suggest to make it work? E.g. calling a save or render method somewhere? Maybe extending the class of your plugin to change something?

Nitwel commented 1 year ago

For everybody that is looking on how to fix this, see the attached pull request above.

tomadmiraal commented 9 months ago

@kaaaaaaaaaaai Any update on this pull request? I prefer to use the repo itself instead of custom modifications

peeter2 commented 8 months ago

I have the same request. Where can I get the latest CDN file with the update?

peeter2 commented 6 months ago

any news about this?

chf-gh commented 2 months ago

手动触发:this.block.dispatchChange();