wizteam / wiz-editor Goto Github PK
View Code? Open in Web Editor NEW多人实时富文本 编辑器,可以嵌入各种应用中。支持markdown语法。
Home Page: https://wiz-editor.com
License: MIT License
多人实时富文本 编辑器,可以嵌入各种应用中。支持markdown语法。
Home Page: https://wiz-editor.com
License: MIT License
假如需要对npm包wiz-editor部分进行修改,例如目前drawio采用的引用drawio官网的编辑器方式非常卡顿。想要自己部署drawio,在wizEditor中使用,但是需要修改node module中的wiz-editor代码,这部分看着是被压缩过的,请问这里可以上传原格式的代码么,或者在哪里可以找到呢
这是我简单阅读server.js代码后的理解,是否已经有解决方案,或者我理解错误了。
Line 868 in d55af5a
const data = {
userId,
docId,
appId: AppId,
permission,
};
jwt中只放入了userID,用户的displayName,avatarUrl通过AuthMessage发送,可以伪造。
生成jwt时permission传入'r',但在AuthMessage中permission传入'w',此时服务端compareAuth函数会报错,但文档仍然可写入。
return e.prototype.getBaseURL = function () {
var e = new URL(this.url);
return ("wss:" === e.protocol ? "https:" : "http:") + "//" + e.host +
e.pathname
}
你们确实挺厉害的自己开发了一个富文本,我这也做了个协同文档,富文本没时间自己搞,服务底层也是和你们用一样的 http://www.otdoc.cn/
啥时候可以在为知笔记中使用,十分期待!
请问这个源码和npm包是不是都用不了啊,
源码cd h5 后下载报错
[email protected] install: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm下载报错This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN deprecated [email protected]: Please use @fastify/[email protected] instead
你好 wiz-editor 底层的server.js 可以开源吗?我看到的是混淆打包了
通过下面两个api禁用了左侧菜单中的视频和音频:
const options: EditorOptions = {
disableVideo: true, // 禁用视频
disableAudio: true // 禁用音频
};
在wiz-editor中粘贴公式纯文本
由于项目推荐nodejs要运行在版本14以上,但是nodejs14不支持win7,我在win7的nodejs13的环境下也能安装部署,目前没有发现哪里有问题,请问作者能考虑把nodejs版本降低到13吗。
RT
有段时间没看到该项目更新了,不知何时计划发布正式版投入使用? 这个项目的设计理念,功能特性等目前在已上线的 wolai 产品中已基本实现,因此wiz-editor 发布太迟,市场使用率会降低不少。
此外,wiz-editor 为知团队是准备单独作为一个产品运营 or 会集成在为知笔记中使用?
目前为知团队分别运营为知笔记 和 wiznoteLite 2款笔记软件,用户需要2者配合使用,不断切换,不太方便。很期待用 wiz-editor 全面提升为知笔记的体验!
按照这边文章所述,https://mp.weixin.qq.com/s/NHA2dXgdm4zdafZD0R7-2w,可以正常安装上插件,但是在WSL环境下无法登录账号
ps:wsl使用的是Ubuntu20.04离线安装包,公司环境,不知道是否有部分网址被禁导致无法登录的可能性
重现demo: codesanbox
前置条件:wiz-editor的父元素是 fixed 布局,模拟在模态窗中使用wiz-editor的场景。
重现步骤:鼠标位于图片上时,按住鼠标左键并拖拽图片。
现象:控制台报错: target isn't the ancestor of el 。
wiz-editor版本:0.0.569
cdn 版本运行报错 TypeError: Cannot read property 'closest' of null
并且cdn版本的功能比local目录的工程少 比如分割线之类的功能
RT,比印象的那个好用多了
live-editor 在 local 的使用情境下应用的是什么许可证?我看 wiz-editor 的 npm 包写的是 ISC 许可证,如果我本地使用这个 npm 包的话,也是 ISC 吗?
您好,本地demo了一下觉得这个编辑器非常棒,但是项目文档似乎不是很全面。现在有如下几个问题请教
1、server短看配置是可以支持mysql 的,但是会报错application has no mysql module,
配置如下const options = {
enableFakeTokenApi: true, // 仅用于demo,测试和生产环境,都不要启用这个功能,具体token生成方式,请在自己的业务中实现。
serveStatic: true, // 发布静态文件
staticDir: path.resolve("./dist"), //静态文件目录
database: {
use: "mysql",
opUse: "database",
mysql: {
host: "192.168.233.131",
port: 3306,
user: "root",
password: "123456",
database: "editor-doc",
connectionLimit: 1000,
},
},
}
2、现在当socket服务断开时,是强制弹出alert,有什么方式可以自定义弹出组件呢
3、编辑器可以支持任务,我可以用什么方式可以拿到任务或者出发任务呢
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
如果在局域网部署的话,由于不能联网会导致加载时间太慢,希望能直接把font.css文件设置成本地模式。
为知的开源协作项目是我这种小白都能部署的特别赞的项目,对于没有js基础的人来讲类似于luckysheet这种开源程序部署起来麻烦的要死,完全没有头绪,但是为知笔记真的是一键搞定,特别赞,并且复制到其他电脑还能稳定运行真的是太厉害了。
firefox quantum 62.0 32位
存在以下两个问题:1无法点击下载office文件;2在输入文字的时候,如果输入逗号,会连续出现两个逗号,并且输入的文字会有很多重复,并且页面会报错。
请问作者是否有考虑针对firefox优化的计划。
这个编辑器还更新吗?
很想使用我们**自己的编辑器,现在正在用的是ckeditor5,不知道这个编辑器是否更新和开源!!!
demo: 冗余数据
步骤:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.