Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想允许 h2 和 h3,但我不确定如何通过添加“格式选择”按钮来编辑下拉列表中的列表。
在你的小 mce 初始化文件中
tinyMCE.init({ ... theme_advanced_blockformats : "h2,h3" });
文档