Skip to content

Commit

Permalink
parchment temp name change
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Mar 29, 2018
1 parent c7c74af commit 15c31f5
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion blots/block.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import extend from 'extend';
import Delta from 'quill-delta';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Break from './break';
import Inline from './inline';
import TextBlot from './text';
Expand Down
2 changes: 1 addition & 1 deletion blots/break.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

class Break extends Parchment.Embed {
static value() {
Expand Down
2 changes: 1 addition & 1 deletion blots/container.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

class Container extends Parchment.Container {}

Expand Down
2 changes: 1 addition & 1 deletion blots/cursor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import TextBlot from './text';

class Cursor extends Parchment.Embed {
Expand Down
2 changes: 1 addition & 1 deletion blots/embed.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import TextBlot from './text';

const GUARD_TEXT = '\uFEFF';
Expand Down
2 changes: 1 addition & 1 deletion blots/inline.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Text from './text';

class Inline extends Parchment.Inline {
Expand Down
2 changes: 1 addition & 1 deletion blots/scroll.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Emitter from '../core/emitter';
import Block, { BlockEmbed } from './block';
import Break from './break';
Expand Down
4 changes: 2 additions & 2 deletions blots/text.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

class TextBlot extends Parchment.Text { }
class TextBlot extends Parchment.Text {}

export default TextBlot;
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Quill from './core/quill';

import Block, { BlockEmbed } from './blots/block';
Expand Down
2 changes: 1 addition & 1 deletion core/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import equal from 'deep-equal';
import extend from 'extend';
import Delta from 'quill-delta';
import DeltaOp from 'quill-delta/lib/op';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import CursorBlot from '../blots/cursor';
import Block, { bubbleFormats } from '../blots/block';
import Break from '../blots/break';
Expand Down
2 changes: 1 addition & 1 deletion core/quill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Delta from 'quill-delta';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import extend from 'extend';
import Editor from './editor';
import Emitter from './emitter';
Expand Down
2 changes: 1 addition & 1 deletion core/selection.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import clone from 'clone';
import equal from 'deep-equal';
import Emitter from './emitter';
Expand Down
2 changes: 1 addition & 1 deletion formats/align.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

const config = {
scope: Parchment.Scope.BLOCK,
Expand Down
2 changes: 1 addition & 1 deletion formats/background.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import { ColorAttributor } from './color';

const BackgroundClass = new Parchment.Attributor.Class('background', 'ql-bg', {
Expand Down
2 changes: 1 addition & 1 deletion formats/color.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

class ColorAttributor extends Parchment.Attributor.Style {
value(domNode) {
Expand Down
2 changes: 1 addition & 1 deletion formats/direction.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

const config = {
scope: Parchment.Scope.BLOCK,
Expand Down
2 changes: 1 addition & 1 deletion formats/font.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

const config = {
scope: Parchment.Scope.INLINE,
Expand Down
2 changes: 1 addition & 1 deletion formats/image.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import { sanitize } from '../formats/link';

const ATTRIBUTES = ['alt', 'height', 'width'];
Expand Down
2 changes: 1 addition & 1 deletion formats/indent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

class IdentAttributor extends Parchment.Attributor.Class {
add(node, value) {
Expand Down
2 changes: 1 addition & 1 deletion formats/size.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';

const SizeClass = new Parchment.Attributor.Class('size', 'ql-size', {
scope: Parchment.Scope.INLINE,
Expand Down
2 changes: 1 addition & 1 deletion modules/clipboard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import extend from 'extend';
import Delta from 'quill-delta';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Quill from '../core/quill';
import logger from '../core/logger';
import Module from '../core/module';
Expand Down
2 changes: 1 addition & 1 deletion modules/history.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Quill from '../core/quill';
import Module from '../core/module';

Expand Down
2 changes: 1 addition & 1 deletion modules/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import equal from 'deep-equal';
import extend from 'extend';
import Delta from 'quill-delta';
import DeltaOp from 'quill-delta/lib/op';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Quill from '../core/quill';
import logger from '../core/logger';
import Module from '../core/module';
Expand Down
2 changes: 1 addition & 1 deletion modules/toolbar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Delta from 'quill-delta';
import Parchment from 'parchment';
import Parchment from 'parchment2';
import Quill from '../core/quill';
import logger from '../core/logger';
import Module from '../core/module';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"deep-equal": "^1.0.1",
"eventemitter3": "^3.0.0",
"extend": "^3.0.1",
"parchment": "quilljs/parchment#2.0",
"parchment2": "quilljs/parchment#351aa1f5bcc6f1910253128ef4c4037b81a3bde7",
"quill-delta": "^3.6.2"
},
"devDependencies": {
Expand Down

0 comments on commit 15c31f5

Please sign in to comment.