suneditor 2.45.1 → 2.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/suneditor.min.js +2 -2
- package/package.json +5 -4
- package/src/lang/cs.d.ts +5 -0
- package/src/lang/cs.js +188 -0
- package/src/lang/fa.d.ts +5 -0
- package/src/lang/fa.js +188 -0
- package/src/lang/index.d.ts +2 -1
- package/src/lang/index.js +3 -2
- package/src/lang/tr.d.ts +5 -0
- package/src/lang/tr.js +191 -0
- package/src/lib/constructor.js +10 -1
- package/src/lib/context.js +2 -1
- package/src/lib/core.d.ts +34 -1
- package/src/lib/core.js +476 -265
- package/src/lib/util.js +104 -36
- package/src/plugins/dialog/audio.js +3 -1
- package/src/plugins/dialog/image.js +12 -1
- package/src/plugins/dialog/video.js +4 -2
- package/src/plugins/modules/_anchor.js +1 -1
- package/src/plugins/modules/resizing.js +206 -199
- package/src/plugins/submenu/font.js +5 -2
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# SunEditor
|
|
2
2
|
Vanilla javascript based WYSIWYG web editor, with no dependencies.
|
|
3
3
|
SunEditor supports IE11 and all modern browsers with no dependencies and polyfill.
|
|
4
|
+
Coded based on ES5 in supported by IE11.
|
|
4
5
|
|
|
5
6
|
#### Demo : <a href="http://suneditor.com" target="_blank">suneditor.com</a>
|
|
6
7
|
|
|
@@ -390,6 +391,7 @@ plugins: [
|
|
|
390
391
|
// * {custom_plugin, ...plugins}
|
|
391
392
|
|
|
392
393
|
// Values
|
|
394
|
+
strictMode : Option to disable clean mode, which checks the styles, classes, etc. of the editor content. default : false {Boolean}
|
|
393
395
|
lang : language object. default : en {Object}
|
|
394
396
|
defaultTag : Specifies default tag name of the editor. default: 'p' {String}
|
|
395
397
|
textTags : You can change the tag of the default text button. default: { bold: 'STRONG', underline: 'U', italic: 'EM', strike: 'DEL' }
|