SAPUI5:禁用富文本编辑器后,仍然可以粘贴来自 word/web 的内容

SAPUI5: After disabling the Rich Text Edior, still able to paste the content from word/web

我正在使用来自 SAPUI5 的 RichTextEditor 控件。有一个属性'editable'。我已将其设置为 false,以便用户无法输入文本。但它仍然允许内容粘贴到编辑器上。理想情况下,这不应该发生。请在下面找到有关可编辑 属性 的信息:

editable boolean true
Determines whether the editor content can be modified by the user. When set to "false" there might not be any editor toolbar.

能见度:public

任何人都可以帮助禁用粘贴内容吗??

任何线索或帮助将不胜感激。谢谢。

Here is the link of my Fiddle

sap.ui.controller("myController", {
    onInit: function () {
},
    
});
sap.ui.view({
    viewContent: jQuery('#myXml').html(),
    type: sap.ui.core.mvc.ViewType.XML
}).placeAt("content")
<script id='sap-ui-bootstrap' type='text/javascript' src='https://sapui5.hana.ondemand.com/resources/sap-ui-core.js' data-sap-ui-libs="sap.m,sap.viz" data-sap-ui-theme="sap_bluecrystal">
    
</script>
<script id="myXml" type="text/xmldata">
    <mvc:View xmlns:core = "sap.ui.core"
    xmlns:mvc = "sap.ui.core.mvc" 
    xmlns = "sap.m" xmlns:richtexteditor="sap.ui.richtexteditor"
    controllerName = "myController"
    displayBlock = "true"> <App> <Page title = "Hello"> 
    
    <richtexteditor:RichTextEditor
   id="idrichtexteditor1" class="sapUiSmallMarginTop sapUiSmallMarginBegin mceContentBody"
   editable="false" editorType="TinyMCE4" beforeEditorInit="onBeforeInit" ready="onReady" useLegacyTheme="false" showGroupClipboard="false" showGroupTextAlign="true" showGroupStructure="true" showGroupLink="true"  showGroupFont="false"
change="onChange" keyDown ="onKeyPress">
   </richtexteditor:RichTextEditor>
    
    </Page>
   </App> </mvc:View>
</script>
<body class='sapUiBody'>
    <div id='content'></div>
</body>

您可以删除 powerpaste 插件:myRichTextEditor.removePlugin("powerpaste");

再次添加插件:myRichTextEditor.addPlugin("powerpaste");

您可以在更新后的 Fiddle

中看到它正在运行