如下代码片段操作指导: 隐藏页面快捷菜单, 移除sidebar&toolbar, 隐藏文本选中快捷菜单.
getDefaultFragments() {
return [{
target: 'fv--page-contextmenu',
config: {
cls: "fv__ui-force-hide"
}
}, {
target: 'sidebar',
action: UIExtension.UIConsts.FRAGMENT_ACTION.REMOVE
}, {
target: 'toolbar',
action: UIExtension.UIConsts.FRAGMENT_ACTION.REMOVE
}, {
target: 'fv--text-selection-tooltip',
config: {
cls: "fv__ui-force-hide"
},
// action: UIExtension.UIConsts.FRAGMENT_ACTION.REMOVE
}]
}