feat: 优化非mac环境下的滚动条

This commit is contained in:
yanmao 2021-12-18 22:36:29 +08:00
parent 7e234f651e
commit 45b81da64d
2 changed files with 12 additions and 2 deletions

View File

@ -354,6 +354,16 @@ export default defineConfig({
name: 'renderer',
content: 'webkit',
},
{
name: 'keywords',
content:
'Web富文本编辑器,React富文本编辑器,Vue富文本编辑器,协作编辑器,vue-editor, react-editor, aomao-editor, rich-text-editor',
},
{
name: 'description',
content:
'一个适用于React、Vue等前端库的Web富文本编辑器。开箱即用提供几十种丰富的编辑器插件来满足大部分需求丰富的多媒体支持不仅支持图片和音视频还有卡片概念的加持可以插入嵌入式多媒体内容使用React、Vue等前端库可以在编辑器中渲染各种各样的内容。支持 Markdown 语法,内置协同编辑方案,轻量配置即可使用。',
},
],
headScripts: [
{

View File

@ -308,7 +308,7 @@ class Scrollbar extends EventEmitter2 {
containerElement.scrollLeft = left;
}
},
100,
isMacos ? 100 : 0,
{ trailing: true },
);
@ -337,7 +337,7 @@ class Scrollbar extends EventEmitter2 {
: Math.min(top, this.sHeight - this.oHeight);
containerElement.scrollTop = top;
},
100,
isMacos ? 100 : 0,
{ trailing: true },
);