【发布时间】:2023-02-06 08:18:43
【问题描述】:
甲骨文顶点 22.2.1
富文本编辑器
初始化代码
function(options){
// disable the Autoformat feature
options.editorOptions.removePlugins.push('Autoformat');
options.editorOptions.enableReadOnlyMode( 'my-feature-id' ); //Also replaced my_feature_id with true
// apply a custom toolbar
options.editorOptions.toolbar = [
'heading', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'
];
return options;
}
当使用 id 或布尔值 true 运行代码时,出现以下错误:
TypeError: options.editorOptions.enableReadOnlyMode is not a function
我错过了什么?
谢谢
【问题讨论】:
-
您是否考虑过使用本机顶点页面项目只读属性?
-
当我使用只读属性时,它显示原始 html 代码
-
刚刚又试了一次。不知道为什么,但只读总是工作正常。以前没有。可能还有其他一些我没有追踪到的变化。我会继续测试。谢谢
-
测试良好我会关闭这个问题
标签: oracle-apex