嗨,你能分享一个使用这个div包装器的例子吗?也许你可以把它作为父类的子类?
螺纹起动器
尼农特卫普
(@nenontwerp)
古腾堡区块管理员添加:
功能测试(){//}
数据库:
<!-- wp:syntaxhighlighter/code{“language”:“php”,“lineNumbers”:true}-->函数测试(){//}</pre><!-- /wp:syntaxhighlighter/code-->
Html前部:
<div class=“entry-content”><p>之前的任何块</p><div><div id=“highlighter_933185”class=“syntaxhighlight alignwide php”><dif class=“toolbar”><span><a href=“#”class=“tool bar_item command_help help”></a> </span></div><table border=“0”cellpadding=“0“cellspacing=”0“><tbody></tbody><p></p><p>之后的任何块</p></div>
ALso查看贡献者Alex Mills提供的任何页面的syntaxhighlighter-html:
https://alex.blog/wordpress-plugins/syntaxhighlighter/adding-a-new-brush语言/
我懂了。你的主题给所有人分配最大宽度似乎很奇怪div公司
标签。你能调整一下吗?