suneditor 2.47.8 → 2.47.10

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 CHANGED
@@ -5,9 +5,9 @@ Coded based on ES5 in supported by IE11.
5
5
 
6
6
  > **⚠️ SunEditor 3.0.0 Released!**
7
7
  > The latest version **3.x** is now available with major improvements.
8
- > If you're using **2.x (legacy version)**, see [v2-legacy branch](https://github.com/JiHong88/SunEditor/tree/v2-legacy).
8
+ > see [suneditor-v3](https://github.com/JiHong88/suneditor).
9
9
 
10
- #### Demo : <a href="http://suneditor.com" target="_blank">suneditor.com</a>
10
+ #### Demo : <a href="https://legacy.suneditor.com" target="_blank">suneditor.com</a>
11
11
 
12
12
  [![GitHub](https://img.shields.io/github/license/jihong88/suneditor.svg?style=flat-square)](https://github.com/JiHong88/SunEditor/blob/master/LICENSE.txt)
13
13
  [![GitHub release](https://img.shields.io/github/release/jihong88/suneditor.svg?style=flat-square)](https://github.com/JiHong88/SunEditor/releases)
@@ -24,7 +24,7 @@ Coded based on ES5 in supported by IE11.
24
24
  > - Can use CodeMirror, KaTeX.
25
25
  > - And.. many other features :)
26
26
 
27
- ![WYSIWYG HTML Editor](http://suneditor.com/docs/screen-main-w.png?v=2700)
27
+ ![WYSIWYG HTML Editor](https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/screen-main-w.png?v=2700)
28
28
 
29
29
  ## Table of contents
30
30
  - [Browser Support](#browser-support)
@@ -57,7 +57,7 @@ Coded based on ES5 in supported by IE11.
57
57
 
58
58
  #### Browser Support
59
59
 
60
- | <img src="http://suneditor.com/docs/chrome-64.png" alt="Chrome" width="16px" height="16px" /> Chrome | <img src="http://suneditor.com/docs/mozilla-64.png" alt="Firefox" width="16px" height="16px" /> Firefox | <img src="http://suneditor.com/docs/opera-64.png" alt="Opera" width="16px" height="16px" /> Opera | <img src="http://suneditor.com/docs/safari-64.png" alt="Safari" width="16px" height="16px" /> Safari | <img src="http://suneditor.com/docs/edge-64.png" alt="Edge" width="16px" height="16px" /> Edge | <img src="http://suneditor.com/docs/explorer-64.png" alt="Explorer" width="16px" height="16px" /> Internet Explorer |
60
+ | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/chrome-64.png" alt="Chrome" width="16px" height="16px" /> Chrome | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/mozilla-64.png" alt="Firefox" width="16px" height="16px" /> Firefox | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/opera-64.png" alt="Opera" width="16px" height="16px" /> Opera | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/safari-64.png" alt="Safari" width="16px" height="16px" /> Safari | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/edge-64.png" alt="Edge" width="16px" height="16px" /> Edge | <img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/explorer-64.png" alt="Explorer" width="16px" height="16px" /> Internet Explorer |
61
61
  |:---:|:---:|:---:|:---:|:---:|:---:|
62
62
  | Yes | Yes | Yes | Yes | Yes | 11+ |
63
63
 
@@ -471,7 +471,7 @@ iframeCSSFileName : Name or Array of the CSS file to apply inside the iframe.
471
471
  You can also use regular expressions.
472
472
  Applied by searching by filename in the link tag of document,
473
473
  or put the URL value (".css" can be omitted). default: 'suneditor' {Array|String}
474
- ex) '.+' or ['suneditor', 'http://suneditor.com/sample/css/sample.css', '.+\\.min\\.css']
474
+ ex) '.+' or ['suneditor', 'https://legacy.suneditor.com/sample/css/sample.css', '.+\\.min\\.css']
475
475
  previewTemplate : A template of the "preview".
476
476
  The {{contents}} part in the HTML string is replaced with the contents of the editor. default: null {String}
477
477
  ex) "<div style='width:auto; max-width:1080px; margin:auto;'><h1>Preview Template</h1> {{contents}} <div>_Footer_</div></div>"
@@ -784,7 +784,7 @@ videoUploadSizeLimit: The size of the total uploadable videos (in bytes).
784
784
  Invokes the "onVideoUploadError" method. default: null {Number}
785
785
  videoMultipleFile: If true, multiple videos can be selected. default: false {Boolean}
786
786
  videoTagAttrs : Define "Attributes" of the video tag. default: null {Object}
787
- ex) { poster: "http://suneditor.com/docs/loading.gif", autoplay: true }
787
+ ex) { poster: "https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/loading.gif", autoplay: true }
788
788
  videoIframeAttrs : Define "Attributes" of the iframe tag. (Youtube, Vimeo). default: null {Object}
789
789
  ex) { style: "border: 2px solid red;" }
790
790
  videoAccept : Define the "accept" attribute of the input. default: "*" {String}
@@ -1109,7 +1109,7 @@ editor.insertImage(FileList);
1109
1109
  * @param {Boolean} notCleaningData If true, inserts the HTML string without refining it with core.cleanHTML.
1110
1110
  * @param {Boolean} checkCharCount If true, if "options.maxCharCount" is exceeded when "element" is added, null is returned without addition.
1111
1111
  */
1112
- editor.insertHTML('<img src="http://suneditor.com/sample/img/sunset.jpg">', true, true);
1112
+ editor.insertHTML('<img src="https://suneditor-files.s3.ap-northeast-2.amazonaws.com/sample/v2/docs/ara.jpg">', true, true);
1113
1113
 
1114
1114
  // Change the contents of the suneditor
1115
1115
  editor.setContents('set contents');
@@ -1592,16 +1592,16 @@ editor.showController = function (name, controllers, core) {
1592
1592
  </table>
1593
1593
 
1594
1594
  ## Examples
1595
- [Examples](http://suneditor.com/sample/html/examples.html)
1595
+ [Examples](https://legacy.suneditor.com/sample/html/examples.html)
1596
1596
 
1597
1597
  ## Options template
1598
- [Options template](http://suneditor.com/sample/html/options.html)
1598
+ [Options template](https://legacy.suneditor.com/sample/html/options.html)
1599
1599
 
1600
1600
  ## Custom plugins
1601
- [Custom plugins](http://suneditor.com/sample/html/customPlugins.html)
1601
+ [Custom plugins](https://legacy.suneditor.com/sample/html/customPlugins.html)
1602
1602
 
1603
1603
  ## Document
1604
- [Document](http://suneditor.com/sample/html/document.html)
1604
+ [Document](https://legacy.suneditor.com/sample/html/document.html)
1605
1605
 
1606
1606
  ## Other libraries using SunEditor
1607
1607
  <a id="lib-suneditor-emojis"></a>[suneditor-emojis](https://github.com/davidkonrad/suneditor-emojis) ([@davidkonrad](https://suneditor-emojis.github.io/)) - Emojis plugin for SunEditor.