Removing Prismatic Blocks
-
Until I (or someone) can figure out the weird code escaping issue, the Prismatic blocks are removed from the plugin (as of version 2.9).
So for anyone using the block editor, here is how to add highlighting to your code snippet:
- Select the core/code block (or the core/preformatted block)
- Add your code snippet
- Toggle open the block settings (sidebar)
- Click “Advanced” and go to “Additional CSS class(es)”
- Type the language class (e.g.,
language-css
) - Save changes
It’s basically the same process as the Prismatic block, only instead of selecting the class name from a menu, you have to type it out.
So that’s it for now. Will update again if anything changes regarding the Prismatic block.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Removing Prismatic Blocks’ is closed to new replies.