suneditor 2.45.0 → 2.46.0
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 +4 -1
- package/dist/suneditor.min.js +2 -2
- package/package.json +5 -4
- package/src/lang/fa.d.ts +5 -0
- package/src/lang/fa.js +188 -0
- package/src/lang/tr.d.ts +5 -0
- package/src/lang/tr.js +191 -0
- package/src/lib/constructor.js +11 -1
- package/src/lib/context.js +2 -1
- package/src/lib/core.d.ts +34 -1
- package/src/lib/core.js +477 -266
- 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/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# SunEditor
|
|
2
|
-
|
|
2
|
+
Vanilla javascript based WYSIWYG web editor, with no dependencies.
|
|
3
|
+
SunEditor supports IE11 and all modern browsers with no dependencies and polyfill.
|
|
4
|
+
Coded based on ES5 in supported by IE11.
|
|
3
5
|
|
|
4
6
|
#### Demo : <a href="http://suneditor.com" target="_blank">suneditor.com</a>
|
|
5
7
|
|
|
@@ -389,6 +391,7 @@ plugins: [
|
|
|
389
391
|
// * {custom_plugin, ...plugins}
|
|
390
392
|
|
|
391
393
|
// Values
|
|
394
|
+
strictMode : Option to disable clean mode, which checks the styles, classes, etc. of the editor content. default : false {Boolean}
|
|
392
395
|
lang : language object. default : en {Object}
|
|
393
396
|
defaultTag : Specifies default tag name of the editor. default: 'p' {String}
|
|
394
397
|
textTags : You can change the tag of the default text button. default: { bold: 'STRONG', underline: 'U', italic: 'EM', strike: 'DEL' }
|