Luckysheet icon indicating copy to clipboard operation
Luckysheet copied to clipboard

[Feature request]可以在配置了 allowEdit 为 false 的情况下禁止图片的拖动和 image setting 的弹出么

Open Clloz opened this issue 3 years ago • 4 comments

在配置了allowEdit 为 false,文档为只读的情况下,能不能配置图片无法拖动,裁剪,也不会弹出 image setting 的窗口。

Clloz avatar Mar 11 '21 04:03 Clloz

同问

qingnan avatar Oct 15 '21 03:10 qingnan

同问

lihui546682631 avatar Dec 21 '21 03:12 lihui546682631

+1,看着好闹心啊~

Wayne-007 avatar Apr 15 '22 07:04 Wayne-007

经测试,可以禁止弹出image setting sheet.config.authority = {editObjects: 0, sheet: 1};

见源码2.1.13 src\controllers\imageCtrl.js:339

songxx1989 avatar May 27 '22 08:05 songxx1989