deyu

Results 22 comments of deyu

复现方式:使用谷歌浏览器 F12 使用移动设备模式,展开菜单滑动时,侧边栏闪烁,观察控制台发现有报错信息; 报错信息:[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. chunk-vendors.84e6c4bc.js:53 [Intervention] Ignored attempt to cancel...

1. 首先html上设置了lang属性后,谷歌翻译会按照指定语种翻译,你自动翻译的情况请检查是否开启一律翻译某某语言了 2. 如果你不希望网页被翻译请设置 translate="false" 到对应dom上,例如html标签

我也遇到了这个问题,首先我尝试关闭vite minify, 编译后chrome能正常加载扩展。 I also encountered this problem. First, I tried to turn off Vite Minify, and after compiling, Chrome was able to load the extension normally. 于是我使用了 terser So...

这脱离了插件的能力范围了吧,或许新版插件的 backscript和定时 该变成 server-script了

或许你应该这样 import { EditorHelper } from '@leafer-in/editor' EditorHelper.toTop(app.editor.list) EditorHelper.toBottom(app.editor.list)

之前的版本确实会有这问题,你升级到最新版本看看

那很遗憾,你需要自己捣鼓一下最小实现 可能是其他的配置导致了问题,又或许创建元素没有问题,但是实际上你修改了一些其他属性。 1. 清理本地 node_modules, 重新安装依赖 2. toJSON导处Text元素的实际属性是什么,如没有明显问题可以尝试下一步 3. 简化你本地的编辑器配置,尝试找出原因,类似下面的代码 ```js import { App, Text } from 'leafer-ui' import '@leafer-in/editor' import '@leafer-in/viewport' const app = new App({ view: window, editor:...

你试试这个 ```js // #自定义滤镜 [blur 滤镜] import { Leafer, Rect, Filter } from 'leafer-ui' import '@leafer-in/filter' // 导入滤镜插件 // 注册自定义滤镜 Filter.register('invert', {   apply(filter, _ui, worldBounds, currentCanvas, _orginCanvas, _shape) { //...