Remove save className auto-application #2035
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Type] Question
Questions about the design or development of the editor.
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Currently when a block is saved, we automatically inject a generated class name to the generated markup without the block author's intervention.
However, the block author must apply this generated class themselves in the
edit
implementation, using the providedclassName
prop.The block author must also have general awareness of this class name to be able to apply styling to their block in stylesheets, so it is not intended to be totally transparent.
We must decide one or the other of the two actions below:
className
themselves in bothedit
andsave
The text was updated successfully, but these errors were encountered: