nocobase2/packages/plugins/@nocobase/plugin-field-markdown-vditor/package.json

31 lines
1.3 KiB
JSON
Raw Normal View History

feat: add plugin-field-markdown-vditor (#4065) * feat: create vditor field type, use Vditor as Markdown Editor * feat: clear Markdown Vditor value when set props.value to null * feat: add plugin-field-markdown-field to preset local plugin * fix: fix the plugin-field-markdown-vditor name in preset * fix: fix the plugin-field-markdown-vditor version in preset * feat: set vditor disable if props.disable is true after init * feat: use data from localstorage as vditor upload request headers * fix: plugin-field-markdown-vditor version to 0.21.0-alpha.11 * feat: when fileCollection is not defined, remove upload from vditor toolbar * feat: add temp function to reset vditor value * fix: temp function to reset vditor value may include reset tag * feat: update plugin-field-markdown-vditor i18n * fix: i18n * feat: temp disable fullscreen * fix: remove useless file * fix: plugin description * fix: plugin description * fix: plugin-field-markdown-vditor componentCls * fix: plugin-field-markdown-vditadd default toobar config * fix: use long text to save mardkwon * fix: vditor fullscreen style * feat: change vditor field datatype * fix: code review * fix: code review * feat: change import method of katex in plugin-field-markdown-vditor * fix: version * fix: resize will cause blur * fix: vditor base font-size * fix: vditor base font-size * feat: use style config from token as vditor base size * fix: plugin-field-markdown-vditor i18n * fix: toobar config tooltip can not be seen * fix: vditor toobar default config * feat: plugin-field-markdown-vditor doc url * feat: move cursor to end when reset vditor value * fix: value change will not set vditor * feat: support getHeaders * fix: improve component * fix: enhance vditor init --------- Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-26 08:42:01 +08:00
{
"name": "@nocobase/plugin-field-markdown-vditor",
"displayName": "Collection field: Markdown(Vditor)",
"displayName.zh-CN": "数据表字段Markdown(Vditor)",
"description": "Used to store Markdown and render it using Vditor editor, supports common Markdown syntax such as list, code, quote, etc., and supports uploading images, recordings, etc.It also allows for instant rendering, where what you see is what you get.",
"description.zh-CN": "用于存储 Markdown并使用 Vditor 编辑器渲染,支持常见 Markdown 语法,如列表,代码,引用等,并支持上传图片,录音等。同时可以做到即时渲染,所见即所得。",
"version": "0.21.0-alpha.15",
"license": "AGPL-3.0",
"main": "dist/server/index.js",
"homepage": "https://docs.nocobase.com/handbook/field-markdown-vditor",
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/field-markdown-vditor",
"peerDependencies": {
"@nocobase/client": "0.x",
"@nocobase/server": "0.x",
"@nocobase/test": "0.x"
},
"devDependencies": {
"@ant-design/icons": "5.x",
"@formily/antd-v5": "1.x",
"@formily/core": "2.x",
"@formily/react": "2.x",
"@formily/shared": "2.x",
"antd": "5.x",
"katex": "^0.16.10",
"vditor": "^3.10.3"
},
"keywords": [
"Collection fields"
]
}