Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

editore

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

editore - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

example/example.jpg

2

bower.json
{
"name": "editore",
"version": "1.2.5",
"version": "1.2.6",
"main": "src/editore.js",

@@ -5,0 +5,0 @@ "ignore": [],

{
"name": "editore",
"version": "1.2.5",
"version": "1.2.6",
"author": "Evandro Eisinger <evandroeisinger@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -10,3 +10,3 @@ # editore.js [![Build Status](https://travis-ci.org/evandroeisinger/editore.js.svg?branch=master)](https://travis-ci.org/evandroeisinger/editore.js) [![npm version](https://badge.fury.io/js/editore.svg)](http://badge.fury.io/js/editore) [![Bower version](https://badge.fury.io/bo/editore.svg)](http://badge.fury.io/bo/editore)

#### basic usage
Load editor.js into your application, create the editor wrapper element, set some fields and instantiate a new Editore.
Load editore.js into your application, create the editor wrapper element, set some fields and instantiate a new Editore.

@@ -74,2 +74,11 @@ ```html

### methods
- [editore.values()](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editorevalues)
- [editore.fields()](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editorefields)
- [editore.clearFields()](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoreclearfields)
- [editore.setFieldsValues( *fields* )](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoresetfieldsvalues-fields-)
- [editore.destroy()](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoredestroy)
- [editore.subscribeInput( *callback* )](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoresubscribeinput-callback-)
- [editore.registerEditionPlugin( *Plugin* )](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoreregistereditionplugin-plugin-)
- [editore.registerInsertionPlugin( *Plugin* )](https://github.com/evandroeisinger/editore.js/blob/master/README.md#editoreregisterinsertionplugin-plugin-)
###### editore.values()

@@ -176,4 +185,3 @@ - return a object with all fields values.

- injected objects
- **this.component**: *DOMElement* **(required)**
- Editore adds in the plugin instance context it's component object, enabling access to it's element, plugins and checkPluginsState method.
- **this.component**: Editore adds in the plugin instance context it's component object, enabling access to it's element, plugins and checkPluginsState method.
- element: *DOMElement*

@@ -227,1 +235,4 @@ - plugins: *Array*

**Fork it** -> **Branch it** -> **Test it** -> **Push it** -> **Pull Request it** :gem:
*Currently development is being maintained by [Núcleo Digital Grupo RBS](http://nucleodigital.gruporbs.com.br/).*

@@ -110,3 +110,3 @@ (function (global, editore) {

// register edition plugins
function registerEditionPlugin(Plugin) {
function registerEditionPlugin(Plugin, options) {
if (!Plugin)

@@ -116,2 +116,4 @@ return new Error('invalid plugin');

Plugin.prototype.component = self.components.edition;
Plugin.prototype.options = options || {};
// instance a new plugin

@@ -127,3 +129,3 @@ var plugin = new Plugin();

// register edition plugins
function registerInsertionPlugin(Plugin) {
function registerInsertionPlugin(Plugin, options) {
if (!Plugin)

@@ -133,2 +135,4 @@ return new Error('invalid plugin');

Plugin.prototype.component = self.components.insert;
Plugin.prototype.options = options || {};
// instance a new plugin

@@ -135,0 +139,0 @@ var plugin = new Plugin();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc