Editing table blocks as HTML
-
I’ve edited a block as HTML (in this particular case a table) to add some css selectors to the elements.
If I then try to go back (edit visually) WordPress says the block is broken and when recovering the block it removes the css selectors.
Is this the expected behaviour? I’ve tried running the code, it’s perfectly fine.
Will I need to keep the block as HTML or is there another solution?
PS: I know I can add classes in WordPress itself but in this case, for a table, I need to add things on thead and td level as well which I don’t think is possible without diving in the HTML itself.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Editing table blocks as HTML’ is closed to new replies.