New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vditor

Package Overview
Dependencies
Maintainers
1
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vditor - npm Package Versions

1
911
33

3.2.2

Diff
vanessa
published 3.2.2 •
vanessa
published 3.2.1 •

Changelog

Source

v3.2.12 / 2020-06-07

  • 475 从网页和其它 md 编辑器中复制的 iframe 和 视频标签 无法粘贴到 Vditor 修复缺陷
  • 455 HTML 实体在切换编辑模式时的转义问题 修复缺陷
  • 466 Tab is not working inside Quote(safari) 修复缺陷
  • 467 为表格添加行列增删按钮 引入特性
  • 472 Add details preview in ir mode 引入特性
  • 471 移动端子工具栏箭头没对齐 修复缺陷
  • 473 different between press "Ctrl+b" and click "B" icon. 修复缺陷
  • 463 在行内代码中进行粘贴时光标位置不对及报错处理 修复缺陷
  • 462 ctrl+z ir 模式没有渲染代码块 修复缺陷
  • 456 根据逗号/制表符生成表格 引入特性
  • 453 bold 位于子菜单中无作用 修复缺陷
  • 449 table(IR mode) 修复缺陷
  • 443 快捷键中文版 文档相关
  • 438 one empty line when ctrl+shift+h 改进功能
  • 439 not working ctrl+shift+x at links 修复缺陷
  • 444 delete tables when cells are empty 改进功能
  • 447 run vditor.insertValue('abc') throw error 修复缺陷
  • 435 task list 合并会添加 p 标签 修复缺陷
  • 432 代码块中输入 &pars 解析问题 修复缺陷
  • 433 language position(code block, wysiwyg mode) 修复缺陷
  • 431 链接、图片相对路径支持 引入特性
  • 430 cursor location when press ctrl+b after checkbox 修复缺陷
  • 429 localStorage被禁用时,报错 修复缺陷
  • 427 headings 大小调整 改进功能
  • 422 inserted one line before table block(windows/Firefox) 修复缺陷
  • 425 支持 flac 音频格式解析 改进功能
  • 409 codeblock(mac safari) 修复缺陷
  • 407 cursor moving at tables(safari & firefox) 修复缺陷
  • 421 添加 bilibili 视频网站解析 改进功能
  • 420 缓存时可以提供一个回调吗,我想同步到服务器上 改进功能
  • 419 outline after update at smartphone 改进功能
  • 418 点击侧边空白,光标会挪到尾部 修复缺陷
  • 415 using local JS file 修复缺陷
  • 406 相同标题内容 ID 生成问题 修复缺陷
  • 412 预览界面大纲无法定位 修复缺陷
  • 411 复制到微信公众号后代码块背景丢失 修复缺陷
  • 410 not delete inline code(firfox) 修复缺陷
  • 405 translated mindmap into Korean 文档相关
  • 402 setValue 后 outline 没有渲染 修复缺陷
  • 400 Heading(wysiwyg) windows firefox 修复缺陷
  • 401 render demo(mobile) 改进功能
  • 397 link(ctrl+k) at wysiwyg mode 改进功能
  • 399 When click empty editor pane 修复缺陷
  • 398 unnecessary line before ctrl+M(tables) at wysiwyg mode 修复缺陷
  • 395 Demo for reading external markdown text 改进功能
  • 386 [wysiwyg] 在代码块尾部按 arrowdown 插入空行 改进功能
  • 396 click empty, append empty block 改进功能
  • 385 image title at wysiwyg 修复缺陷
  • 390 no data-marker(editing mode) 修复缺陷
  • 392 anchor option 改进功能
  • 389 marker option at preview 改进功能
  • 388 changed some korean i18n and demo text 文档相关
  • 383 移动端移除侧边提示 改进功能
  • 384 ctrl_+, ctrl_- at heading(wysiwyg) 修复缺陷
  • 321 移动端如何调用toolbar的方法 咨询提问
  • 382 sometimes the keyboard is hidden at smartphone 修复缺陷
  • 378 hover style in Mobile 修复缺陷
  • 379 Not sticky at IOS 修复缺陷
  • 381 光标在内联数学公式中无法向下移动 修复缺陷
  • 380 修复 XSS 漏洞 修复缺陷
  • 4 添加支持思维导图的功能 引入特性
  • 376 为 markdown 添加 sanitize 设置 引入特性
  • 375 upload 配置项添加额外请求参数 引入特性
  • 372 配置lineNumber为true后,代码复制按钮不出现 修复缺陷
  • 373 toolbar 缺失 edit-mode 报错 修复缺陷
  • 371 列表项上下移动 改进功能
  • 367 cursor up and down inside Table 改进功能
  • 368 Copy Paste multiline inside table 修复缺陷
  • 369 when paste, code can not highlight 修复缺陷
  • 370 Copy Paste multiline at markdown mode 改进功能
  • 文档修改
    • options.upload 添加 extraData 配置
    • 添加静态方法 mindmapRender
    • IMarkdownConfig 添加 sanitize, listMarker, linkBase 配置
    • IPreviewOptions.anchor 从 boolean 类型修改为 number 类型
    • 示例代码地址修改:static-preview.html => preview.html,static.html => b3log.org/vditor/demo/render.html
    • 添加 Vditor 官方首页
    • 添加缓存回调 options.cache.after(markdown:string)
vanessa
published 3.2.0 •
vanessa
published 3.1.23 •

Changelog

Source

v3.1.23 / 2020-05-05

  • 365 Emoji 6️⃣ 修复缺陷
  • 361 typing korean char. after end of code block at IR 修复缺陷
  • 358 cursor up and down at IR mode 修复缺陷
  • 363 Copy Paste (HTML2Markdown) issue 修复缺陷
  • 360 typing fast(code block) at IR 修复缺陷
  • 364 复制粘贴过滤掉 svg 标签 修复缺陷
  • 362 Export HeadingID function to JavaScript 改进功能
  • 359 heading anchor when copy & paste 修复缺陷
  • 357 预览区透明 修复缺陷
  • 349 传统中文排版“段落开头空两格” 引入特性
  • 351 MathJax plugin 修复缺陷
  • 353 list demo at static-preview.html 文档相关
  • 350 自定义渲染的方法 引入特性
  • 345 支持预览区域粘贴到公众号 引入特性
  • 324 支持多款主题预览 引入特性
  • 325 导出功能 引入特性
  • 344 outline 渲染 bug 修复缺陷
  • 343 添加初始化大纲展现参数 改进功能
  • 341 Can not delete the image at IR mode 修复缺陷
  • 339 添加静态方法 setCodeTheme, setContentTheme 改进功能
  • 316 支持多端预览 引入特性
  • 337 insertValue 光标错误 修复缺陷
  • 333 重新设计帮助菜单 改进功能
  • 334 重新设计关于菜单 改进功能
  • 335 块引用嵌套列表跳出问题 修复缺陷
  • 332 Not working 3rd menu at smartphone 修复缺陷
  • 329 preview方法可选参数options.transform提示undefined错误的问题 修复缺陷
  • 328 sv 模式高度错误 修复缺陷
  • 326 为工具栏添加2级和3级菜单 改进功能
  • 323 setTheme 需支持代码块风格的切换 改进功能
  • 320 代码区点击复制代码时自动去掉行号 修复缺陷
  • 314 添加图片懒加载设置 引入特性
  • 319 add ctrl+shift+e button to toolbar for smartphone 改进功能
  • 312 支持块级元素上下移动 引入特性
  • 318 工具栏和编辑器区域对齐 改进功能
  • 313 html 页面 点击禁用button 引起回调 修复缺陷
  • 311 preview demo 改进功能
  • 94 获取大纲内容及点击定位功能 引入特性
  • 309 添加 options.upload.setHeaders 引入特性
  • 306 IR mode ATX heading change 改进功能
  • 303 Inline HTML parsing issue 修复缺陷
  • 304 为 toolbar 添加是否 pin 的配置 引入特性
  • 296 打字机模式下字数统计标签不可见 改进功能
  • 302 Editing Heading(IR mode) 修复缺陷
  • 301 Add README in English 文档相关
  • 299 表格解析异常 修复缺陷
  • 226 Vulnerable to Self-XSS 修复缺陷
  • 297 纯文本字数统计 引入特性
  • 298 ✨ 允许开启 counter 而不设置限值 & README 优化 引入特性
  • 295 全屏模式下打字机行为异常 修复缺陷
  • 294 🐛 计算全屏 typewriterMode 位置 修复缺陷
  • 286 add indent & outdent button 引入特性
  • 291 🎨 改进 Counter 修复缺陷
  • 285 shift+tab is not working at lists 修复缺陷
  • 292 🐛 全屏模式文末空白 修复缺陷
  • 293 iOS Safari 快捷键显示为 Windows 版本 修复缺陷
  • 290 🎨 add minHeight 改进功能
  • 71 优化移动端体验 改进功能
  • 283 添加 SetSetext 配置 引入特性
  • 278 IR 细节修改 修复缺陷
  • 文档更新
    • 添加 options.minHeight, options.outline
    • options.counter 修改为 counter?: { enable: boolean; max?: number; type: "markdown" | "text"; }
    • counter 位置移动到 toolbar 上
    • options.hideToolbar 修改为 toolbarConfig: { hide?: boolean, pin?: boolean }
    • 添加 options.upload.setHeaders: { [key: string]: string }
    • 添加静态方法 outlineRender, setCodeTheme, setContentTheme
    • 添加 lazyLoadImageRender 静态方法
    • insert line 默认快捷键由 ⌘-⇧-D 修改为 ⌘-⇧-H,添加下移 ⌘-⇧-D、上移 ⌘-⇧-U 快捷键,移除上传、预览、编辑器模式切换快捷键
    • options.toolbar 添加 toolbar 参数,最多可进行 3 级菜单
    • options.toolbar 添加 outdent,indent, outline, insert-after, insert-before, more,code-theme, content-theme, export
    • setTheme 方法添加 conentTheme, codeTheme 参数
    • setPreviewMode 方法移除 preview
    • options.previewmaxWidth 默认值改为 800, mode 移除 preview 选项,markdonw 添加 themesetext 配置
    • IPreviewOptions 添加 afterlazyLoadImage, markdown.theme, renderers, markdown.paragraphBeginningSpace,移除 theme
vanessa
published 3.1.22 •
vanessa
published 3.1.21 •
vanessa
published 3.1.20 •
vanessa
published 3.1.19 •
vanessa
published 3.1.18 •
vanessa
published 3.1.17 •