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
It would be nice to have a global option supported by all (official) blocks that allows the following:
Do not add the default CSS for that block
Allow to add arbitrary class names to each element generated by a block
The custom class names (used for styling, like text-lg, text-center, bg-gray-100, etc.) can be added to the config when you initialize the editor with the various blocks.
This would work very well with Tailwind CSS and utility classes in general.
Currently it's painful to control the exact appearance of the elements generated by Editor.js.
The text was updated successfully, but these errors were encountered:
Currently, what I have to do is grab the plugin for the block I want to use from github, remove the css import in the main file, include it in my EditorJS Configuration.
Then in my scss I target the class that is applied to the thing ie: "ce-header" and @apply the tailwind classes I want on it.
This is far harder than it should be.
I would be happy enough if there was an option in the configuration to disable the default styling.
For more complicated plugins like the image plugin, I still include the css. I change any styling done to the "ce-*" element itself.
It would be nice to have a global option supported by all (official) blocks that allows the following:
The custom class names (used for styling, like
text-lg
,text-center
,bg-gray-100
, etc.) can be added to the config when you initialize the editor with the various blocks.This would work very well with Tailwind CSS and utility classes in general.
Currently it's painful to control the exact appearance of the elements generated by Editor.js.
The text was updated successfully, but these errors were encountered: