Customize Image Toolbar CKEditor5

Viewed 93

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 Answers
Related