@syncfusion/ej2-vue-richtexteditor
Advanced tools
Comparing version 16.2.45 to 16.2.46
@@ -5,2 +5,4 @@ # Changelog | ||
## 16.2.45 (2018-07-17) | ||
### RichTextEditor | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: ej2-vue-richtexteditor.umd.min.js | ||
* version : 16.2.44 | ||
* version : 16.2.46 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -10,4 +10,13 @@ * Use of this code is subject to the terms of our license. | ||
*/ | ||
/*! | ||
* filename: ej2-vue-richtexteditor.umd.min.js | ||
* version : 16.2.45 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
* A copy of the current license can be obtained at any time by e-mailing | ||
* licensing@syncfusion.com. Any infringement will be prosecuted under | ||
* applicable laws. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["backgroundColor","cssClass","editorMode","enableHtmlEncode","enablePersistence","enableRtl","enableTabKey","enabled","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","placeholder","quickToolbarSettings","readonly","showCharCount","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","blur","change","created","destroyed","focus","toolbarClick"],c=["value"],a=function(e){function a(){var n=e.call(this)||this;return n.propKeys=i,n.models=c,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n}return r(a,e),a.prototype.trigger=function(e,t){if("change"===e&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],r=o[0];t&&o&&!n.isUndefined(t[r])&&this.$emit("modelchanged",t[r])}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t)},a.prototype.setProperties=function(e,t){var n=this;if(this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&0!==this.models.length){var o=[],r=!1;Object.keys(e).map(function(e){n.models.map(function(t){e!==t||/datasource/i.test(e)||(o.push(e),r=!0)})}),r&&o.map(function(t){n.$emit("update:"+t,e[t])})}},a.prototype.render=function(e){return e("div",this.$slots.default)},a.prototype.disableToolbarItem=function(e){return this.ej2Instances.disableToolbarItem(e)},a.prototype.enableToolbarItem=function(e){return this.ej2Instances.enableToolbarItem(e)},a.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},a.prototype.focusIn=function(){return this.ej2Instances.focusIn()},a.prototype.focusOut=function(){return this.ej2Instances.focusOut()},a.prototype.getContent=function(){return this.ej2Instances.getContent()},a.prototype.getHtml=function(){return this.ej2Instances.getHtml()},a.prototype.getID=function(){return this.ej2Instances.getID()},a.prototype.getRange=function(){return this.ej2Instances.getRange()},a.prototype.getSelection=function(){return this.ej2Instances.getSelection()},a.prototype.getText=function(){return this.ej2Instances.getText()},a.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},a.prototype.onCopy=function(){return this.ej2Instances.onCopy()},a.prototype.onCut=function(){return this.ej2Instances.onCut()},a.prototype.onPaste=function(e){return this.ej2Instances.onPaste(e)},a.prototype.print=function(){return this.ej2Instances.print()},a.prototype.refresh=function(){return this.ej2Instances.refresh()},a.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},a.prototype.selectAll=function(){return this.ej2Instances.selectAll()},a.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},a.prototype.setContent=function(e){return this.ej2Instances.setContent(e)},a.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},a.prototype.setEnable=function(){return this.ej2Instances.setEnable()},a.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},a.prototype.setReadOnly=function(){return this.ej2Instances.setReadOnly()},a.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},a.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},a.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},a=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],a)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,a)}};e.RichTextEditorComponent=a,e.RichTextEditorPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-richtexteditor.umd.min.js.map |
12
index.js
@@ -1,8 +0,4 @@ | ||
define(["require", "exports", "./src/index"], function (require, exports, index_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(index_1); | ||
}); | ||
/** | ||
* index | ||
*/ | ||
export * from './src/index'; |
{ | ||
"name": "@syncfusion/ej2-vue-richtexteditor", | ||
"version": "16.2.45", | ||
"version": "16.2.46", | ||
"description": "Essential JS 2 RichTextEditor component for Vue", | ||
@@ -17,9 +17,9 @@ "author": "Syncfusion Inc.", | ||
"main": "./dist/ej2-vue-richtexteditor.umd.min.js", | ||
"module": "dist/es6/ej2-vue-richtexteditor.es5.js", | ||
"module": "./index.js", | ||
"es2015": "dist/es6/ej2-vue-richtexteditor.es2015.js", | ||
"readme": "ReadMe.md", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.2.45", | ||
"@syncfusion/ej2-vue-base": "~16.2.45", | ||
"@syncfusion/ej2-richtexteditor": "16.2.45" | ||
"@syncfusion/ej2-base": "~16.2.46", | ||
"@syncfusion/ej2-vue-base": "~16.2.46", | ||
"@syncfusion/ej2-richtexteditor": "16.2.46" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -1,18 +0,67 @@ | ||
# RichTextEditor | ||
# ej2-vue-richtexteditor | ||
## Overview | ||
## The rich text editor component is a HTML and markdown editor that provides best user experience for creating and updating the content. | ||
The rich text editor component is WYSIWYG ("what you see is what you get") editor used to create and edit the content and return valid HTML markup or markdown (MD) of the content. The editor provides a standard toolbar to format content using its commands. Modular library features to load the necessary functionality on demand. The toolbar contains commands to align the text, insert link, insert image, insert list, undo/redo operation, HTML view, and more. | ||
![](../../Read-me-Images/rte.GIF) | ||
## Key features | ||
>Note: This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). | ||
>A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.. | ||
* Provides IFRAME and DIV mode. | ||
* Handles markdown editing. | ||
* Contains a modular library to load the necessary functionality on demand. | ||
* Provides a fully customizable toolbar. | ||
* HTML view to edit the source directly for developers. | ||
* Supports to integrate third-party library. | ||
* Preview the modified content before saving it. | ||
* Handles images, hyperlinks, video, hyperlinks, uploads, and more. | ||
* Contains undo/redo manager. | ||
* Creates bulleted and numbered lists. | ||
## 1. Setup To install this package and its dependent packages, use the following command | ||
Use the following commands to install rich text editor components and its dependent packages. | ||
``` | ||
npm install @syncfusion/ej2-vue-richtexteditor | ||
``` | ||
## 2. Components included | ||
* [GettingStarted](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started.html) | ||
* [View Online Demos](https://ej2.syncfusion.com/vue/demos/#/material/rte/) | ||
* [Product Page](https://www.syncfusion.com/products/vue/rich-text-editor) | ||
## 3. Supported frameworks | ||
These components are available in following list of | ||
1. [TypeScript](https://ej2.syncfusion.com/demos/#/material) | ||
2. [Angular](https://ej2.syncfusion.com/angular/demos/#/material) | ||
3. [React](https://ej2.syncfusion.com/react/demos/#/material) | ||
4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com) | ||
5. [ASP.NET MVC](http://aspnetmvc.syncfusion.com) | ||
6. [JavaScript (ES5)](https://ej2.syncfusion.com/javascript/demos/#/material) | ||
## 4. Use-case samples / Showcase samples | ||
* HTML editor ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/rte/tools.html)) | ||
* Blog posting ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/rte/forums.html)) | ||
* Markdown editor ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/rte/markdown-default.html)) | ||
* Inline edit ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/rte/inline.html)) | ||
## 5. Key features | ||
* [**Mode**](https://ej2.syncfusion.com/vue/demos/#/material/rte/iframe.html): Provides `<IFRAME>` and `<DIV>` mode. | ||
* [**Markdown**](https://ej2.syncfusion.com/vue/demos/#/material/rte/markdown-preview.html): Handles markdown editing. | ||
* [**Module**](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started.html?lang=typescript#module-injection): Contains a modular library to load the necessary functionality on demand. | ||
* [**Toolbar**](https://ej2.syncfusion.com/vue/demos/#/material/rte/types.html): Provides a fully customizable toolbar. | ||
* [**Editing**](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous.html?lang=typescript#code-view): HTML view to edit the source directly for developers. | ||
* [**Third-party Integration**](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/third-party.html): Integrates third-party library. | ||
* [**Preview**](https://ej2.syncfusion.com/vue/demos/#/material/rte/markdown-preview.html): Preview the modified content before saving it. | ||
* [**Tools**](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/toolbar.html#toolbar-items): Handles images, hyperlinks, uploads, and more. | ||
* [**Undo and Redo**](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous.html?lang=typescript#undoredo-manager): Contains undo/redo manager. | ||
## 6. Support | ||
Product support can be obtained through the following mediums: | ||
* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=richtexteditor) support system or [Community forum.](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=richtexteditor) | ||
* New [GitHub issue](https://github.com/syncfusion/ej2-richtexteditor/issues/new). | ||
* Ask your query in Stack Overflow with tag `syncfusion`, `ej2`. | ||
## 7. License | ||
Check the license details [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=dropdown) | ||
## 8. Change log | ||
Check the changelog [here](https://github.com/syncfusion/ej2-vue-richtexteditor/blob/master/CHANGELOG.md) | ||
© Copyright 2018 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution. |
export * from '@syncfusion/ej2-richtexteditor'; | ||
export { RichTextEditorComponent, RichTextEditorPlugin } from './richtexteditor/richtexteditor.component'; | ||
export { RichTextEditorComponent, RichTextEditorPlugin } from './rich-text-editor/richtexteditor.component'; |
@@ -1,10 +0,2 @@ | ||
define(["require", "exports", "@syncfusion/ej2-richtexteditor", "./richtexteditor/richtexteditor.component"], function (require, exports, ej2_richtexteditor_1, richtexteditor_component_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(ej2_richtexteditor_1); | ||
exports.RichTextEditorComponent = richtexteditor_component_1.RichTextEditorComponent; | ||
exports.RichTextEditorPlugin = richtexteditor_component_1.RichTextEditorPlugin; | ||
}); | ||
export * from '@syncfusion/ej2-richtexteditor'; | ||
export { RichTextEditorComponent, RichTextEditorPlugin } from './rich-text-editor/richtexteditor.component'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7525766
38
143941
+ Added@syncfusion/ej2-richtexteditor@16.2.46(transitive)
- Removed@syncfusion/ej2-richtexteditor@16.2.45(transitive)