toolbar_sticky 选项

问题描述 投票:0回答:1

如何在 Oracle APEX 的富文本 TinyMCE 中拥有

toolbar_sticky : true
选项??

我已经在“初始化 JavaScript 函数”部分尝试过此操作,但它不适用于富文本。 function(options) { options.editorOptions.toolbar_sticky = true; return options; }

APEX 版本也是 23.1。

tinymce oracle-apex
1个回答
0
投票
https://www.tiny.cloud/docs/tinymce/latest/toolbar-configuration-options/

文档之后,终于找到了解决方案: function(options) { options.editorOptions.toolbar_sticky = true; options.editorOptions.toolbar_sticky_offset = 100; /*based on fixed header height in px */ return options; }

我唯一忘记的是 
toolbar_sticky_offset

选项!当我在页面中有固定位置标题时,此选项应该有一个像素量粘贴在标题页面下方。

© www.soinside.com 2019 - 2024. All rights reserved.