Closed maidentaiwan closed 1 year ago
Describe the bug If a code block is just one line long, the Enlighter buttons on the right side are cut off vertically when the block is rendered.
WordPress Editing Mode Classic editor, but it doesn't matter because the problem is at render time.
Frontend or Backend Issue Frontend
To Reproduce See Example code and the screenshot.
Expected behavior Enlighter buttons on the right side should appear.
Screenshots See screenshot to be uploaded
Example code Render this with Block-Code, Plain Text, Standard (Enlighter).
/^[achiort]*c[achiort]*$/
Desktop (please complete the following information):
Here is a screenshot. Notice how the buttons on the right are cut off vertically.
see https://github.com/EnlighterJS/documentation/blob/master/Tweaks.md#set-minimal-height-for-single-line-codeblocks
it's the intended behaviour.
Describe the bug If a code block is just one line long, the Enlighter buttons on the right side are cut off vertically when the block is rendered.
WordPress Editing Mode Classic editor, but it doesn't matter because the problem is at render time.
Frontend or Backend Issue Frontend
To Reproduce See Example code and the screenshot.
Expected behavior Enlighter buttons on the right side should appear.
Screenshots See screenshot to be uploaded
Example code Render this with Block-Code, Plain Text, Standard (Enlighter).
Desktop (please complete the following information):