Giter Site home page Giter Site logo

syfxlin / xkeditor Goto Github PK

View Code? Open in Web Editor NEW
57.0 1.0 5.0 15.46 MB

:pencil: XK-Editor | 一个支持富文本和Markdown的编辑器

Home Page: https://blog.ixk.me/xkeditor.html

License: Apache License 2.0

JavaScript 37.00% HTML 5.73% Vue 7.24% CSS 47.76% SCSS 2.27%
editor markdown tinymce markdown-editor markdown-to-html html-to-markdown

xkeditor's Issues

滚动双向绑定在未编辑前不生效

现象

当页面加载完成后,还未对ace编辑器进行操作的前,双向滚动绑定会出现不绑定的情况。

方案

更改滚动绑定初始化的时机,将初始化的时期更改为填充内容后

预计修复时间

明天

功能上的一些建议

繁星大大,试用演示感觉挺赞的,看到里面有画图的模块,有没有想过类似嵌入 drawio 的画图?类似于 bookstackapp 。

另外「引用」的多样式表现类似于 Origami Notebox 区块能在 xkeditor 实现吗?

部分按钮标记错误

由于没有完善判断,部分按钮标记错误,如全屏,若用户使用F11全屏则全屏按钮并不会被标记为开启,所以按钮的状态需要另外绑定。

粘贴Markdown二次翻译问题

当编辑器粘贴Markdown时,如果该Markdown不是从干净的文本编辑器复制(如VSCode),复制出来的值就会是带html的Markdown内容,造成二次翻译问题

添加代码格式化

由于Markdown就像代码一般,如果没有良好的编码风格会使作者在编辑的时候不能很好的编辑,而自动代码格式化可以使作者能够专注于内容而不是格式

TODO list

  • 文本颜色和背景色支持,[Text]{color,bg_color}
  • 折叠内容
  • Inline code颜色和背景色支持
  • 快速插入媒体
  • NoteBox
  • 链接target属性
  • 图片缩放
  • 部分HTML属性支持
  • 更改涂鸦板绘图库(SVG,绘图库已制作完成,近期会并入XK-Editor)
  • 自定义按钮
  • 文件嵌入
    --- 计划 ---
  • 所见即所得编辑模式

this is not a issue!

great stuff! why no one give it a star? I really appreciate your work, it helps me a lot! Behind u.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.