admin管理员组文章数量:1313771
When I copy a text block from another website to WordPress gutenberg editor, it forms a <pre><code>...</code></pre>
block. This block consists of several lines. I want to convert this block to a list block, and every line is a <li>
element.
Currently, when I click the block option, there is only one option there that converts the block to a paragraph. However, when the <pre>
block is converted to a paragraph, the line-breaks in the original block are missing. I have to add those line-breaks manually to form multiple paragraphs, then convert those paragraphs to a list block. Is there a convenient way to convert a <pre><code>...</code></pre>
block to a list block directly?
本文标签: How to convert ltpregt block to a list block in WordPress gutenberg editor
版权声明:本文标题:How to convert <pre> block to a list block in WordPress gutenberg editor? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741928044a2405409.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论