Releases: mycolorway/simditor
Releases · mycolorway/simditor
v2.2.1
- Fix some syntax error in table button
v2.2.0
- Refactor selection module. Add methods for getting status of current selection:
startNodes()
endNodes()
containerNode()
nodes()
blockNodes()
rootNodes()
- Simplify util module. Remove methods:
closestBlockEl()
furthestXXX()
traverseUp()
. Use new selection methods instead. - Button now has a simpler status method to detect current status. The new selection methods will be super useful in
button.status()
- allowedTags/allowedAttributes/allowedStyles options will be merged into defaults by now
- Documentation is now written by English
- Several other minor improvements
v2.1.15
- Fix a bug in Firefox that cannot paste to upload image
- Fix a 404 link error in docs
- Fix a stupid syntax error
v2.1.14
- Add a filter for inilne style of dom nodes. Some specific inline styles won't be filterred by now, such as
text-align
style of paragraph node - Fix a status style bug of
a
node while switching selection between differenta
nodes - Add a
codeLanguages
option for customizing language list of code block
v2.1.13
- Fix an error in code block decoration
v2.1.12
- Fix a bug on Windows Firefox using ctrl+a to select all text
- Make code block output markdown compatible:
<pre><code></code></pre>
- Table generated by simditor has a thead now.
- Add extension: simditor-checklist
- Add extension: simditor-markdown
v2.1.11
- FIX: wrong umd config for commonjs
v2.1.10
- Add
alignment
button for paragraph alignment - Move
source
button to a new extension simditor-html - Rename npm dependency
simplemodule
tosimple-module
- Several bug fixes
v2.1.9
- 修复了npm错误依赖simple-module的一个bug
- 为
allowedTags
和allowedAttributes
选项增加了文档
v2.1.8
- 修复表格的缩进
- 更新webfont
- 修复源代码模式下placeholder的bug