|
@@ -120,7 +120,7 @@ describe( 'BalloonEditorUI', () => {
|
|
|
return VirtualBalloonTestEditor
|
|
return VirtualBalloonTestEditor
|
|
|
.create( 'foo', {
|
|
.create( 'foo', {
|
|
|
extraPlugins: [ BalloonToolbar, Paragraph ],
|
|
extraPlugins: [ BalloonToolbar, Paragraph ],
|
|
|
- placeholder: 'placeholder-text',
|
|
|
|
|
|
|
+ placeholder: 'placeholder-text'
|
|
|
} )
|
|
} )
|
|
|
.then( newEditor => {
|
|
.then( newEditor => {
|
|
|
const firstChild = newEditor.editing.view.document.getRoot().getChild( 0 );
|
|
const firstChild = newEditor.editing.view.document.getRoot().getChild( 0 );
|
|
@@ -159,7 +159,7 @@ describe( 'BalloonEditorUI', () => {
|
|
|
.create( element, {
|
|
.create( element, {
|
|
|
plugins: [ BalloonToolbar ],
|
|
plugins: [ BalloonToolbar ],
|
|
|
extraPlugins: [ Paragraph ],
|
|
extraPlugins: [ Paragraph ],
|
|
|
- placeholder: 'config takes precedence',
|
|
|
|
|
|
|
+ placeholder: 'config takes precedence'
|
|
|
} )
|
|
} )
|
|
|
.then( newEditor => {
|
|
.then( newEditor => {
|
|
|
const firstChild = newEditor.editing.view.document.getRoot().getChild( 0 );
|
|
const firstChild = newEditor.editing.view.document.getRoot().getChild( 0 );
|