Comments (6)
解析出来了没样式啥的
markdown就是纯文本,一般markdown解析库都是都是支持自定义节点的
from for-editor.
from for-editor.
我看你的样式挺好看的 ,想弄成你的那种,可是我存入数据库后再取出来展示就不是你那种解析出来的样式
你看一下作者的预览页面,预览界面加了class,你数据库保存的只是纯文本。不会或者不想搞,可以找一下其他前端markdown渲染库,它们应该会把你的纯文本解析成dom节点并加上样式。
from for-editor.
from for-editor.
我看你的样式挺好看的,想弄成你的那种,可是我存入数据库后再收回来展示就不是你那种解析出来的样式
你看一下作者的依赖就会发现他用了highlight.js 和marked,你去看看这俩应该可以做出和作者一样的效果
from for-editor.
from for-editor.
Related Issues (20)
- 重做按钮和快捷键都无效
- Marked vulnerability requires update
- 编辑器不支持流程图和甘特图等
- 记录一个坑 handleChange方法需要传一个value参数 HOT 1
- 默认工具栏按钮全部开启, 传入自定义对象指定开启某一个按钮 HOT 1
- 根本用不了
- win电脑上滚动条滚到底显示不全,需要用上下键
- H2 H1这样的标题文字大小发生了问题 HOT 1
- 单字符行出现<空格><空格><回车>无法换行 HOT 1
- 校验功能
- 你好,当内容过多时,键入内容会变得十分卡顿 HOT 1
- missing "style" object example and documentation in Readme file. HOT 1
- Editor only one line
- 如何默认打开预览模式,就是一打开就可以看到预览,不需要再次点一下预览那个按钮 HOT 2
- Not break line if length word
- add translation HOT 1
- It cant multiple undo
- 能否支持导出一个mark-down渲染器
- 能否加一个自定义工具栏按钮功能?
- 自定义工具栏
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-editor.