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.
嘿,我用新的 TinyMce4 更新了我的应用程序,我喜欢新的风格,除了“字体大小”字体大小选择下拉菜单外,一切正常。
任何建议都会有所帮助!!!谢谢
添加到 init TinyMCE convert_fonts_to_spans: true和font_size_style_values列表
tinymce.init({ ... convert_fonts_to_spans: true, font_size_style_values: "8pt,10pt,12pt,14pt,18pt,24pt,36pt", ... toolbar: "... fontsizeselect ..." ... });