editor-js / quote

Quote Tool for Editor.js 2.0
MIT License
40 stars 63 forks source link

Remove alignment options #59

Open kiliandr opened 1 year ago

kiliandr commented 1 year ago

hi i want to use the quote tool without the alignment option. just a quote and maybe a caption. is there a possibility to remove the alignment option? thanks for the great work though!

collimarco commented 9 months ago

I am also looking for a way to disable this.

It doesn't make sense that option "alignment" - that should be a generic option for any block, not just for the quote.

Also, in the actual implementation, is quite confusing for the user since they don't see any visual effect when they change that option in the editor.

It would be great to have an option to disable the "alignment"

collimarco commented 6 months ago

In case the "center" option is like Wordpress that has two variations (quote, pull quote) then it can make sense. Even Medium has two variations of quote (one normal and one large in the center).

However please add a class like .text-left and .text-center, so that anyone can give different visual styles in the editor. Otherwise it looks like a broken functionality to the end user.

Related: https://github.com/editor-js/quote/issues/64