Customize Image Toolbar CKEditor5

156 views Asked by At

Is there any way to customize ImageToolbar so that the alignments are via style in the img tag?

Or to modify the behavior of the predefined styles?

I can think of something like:

const ImageStyle = editor.commands.get('ImageStyle')

ImageStyle.alignCenter = (imageTag){
 ....
}

Is it possible?

Thanks in advance.

0

There are 0 answers