如何在 Plone 4.1 中使用 atreal.richfile.preview in tag 时禁用 pdf 插件图标的显示<embed>



我在Plone 4.1中使用atreal.richfile.preview。对于pdf预览,我如何禁用插件标签中的图标,该插件显示缩放+打印或保存pdf文件的图标。自定义中的嵌入标记如下:site/portal_view_customizations/atrel.richfile.preview.interfaces.ipreview-atreal.richfile_preview.viewlet

<embed width="100%" height="100%"
         tal:condition="ispdf"
         tal:attributes="src string:${here/absolute_url}" 
         draggable="false" onselectstart="false"  />

基本上,哪个javascript显示这些需要禁用的图标?如何实现这一点?需要禁用哪个javascript?请引导。这些图标在预览窗口右下角的鼠标悬停事件中可见

更改

tal:attributes="src string:${here/absolute_url}"

tal:attributes="src string:${here/absolute_url}#toolbar=0"

最新更新