Skip to content

Commit

Permalink
Docs: fixing available image styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
godai78 committed Feb 1, 2024
1 parent c9923c5 commit 1b3913c
Show file tree
Hide file tree
Showing 51 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion docs/_snippets/build-classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ClassicEditor.defaultConfig = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'toggleImageCaption',
'imageTextAlternative'
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-autosave/tests/manual/autosave.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ClassicEditor
'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo', '|', 'sourceEditing'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
autosave: {
save( editor ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const defaultConfig = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'toggleImageCaption',
'imageTextAlternative',
Expand Down
8 changes: 4 additions & 4 deletions packages/ckeditor5-clipboard/tests/manual/dragdrop-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ClassicEditor
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down Expand Up @@ -280,7 +280,7 @@ BalloonEditor
image: {
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down Expand Up @@ -318,7 +318,7 @@ BalloonEditor
image: {
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down Expand Up @@ -355,7 +355,7 @@ BalloonEditor
image: {
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-core/tests/manual/pendingactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ClassicEditor
plugins: [ ArticlePluginSet, PendingActions ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} )
.then( editor => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-core/tests/manual/version-collision.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ClassicEditor
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} )
.then( editor => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-balloon/tests/ballooneditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ describe( 'BalloonEditor', () => {
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} ) );
} );
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-balloon/tests/manual/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function initEditors() {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative'
]
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-classic/tests/classiceditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ describe( 'ClassicEditor', () => {
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} ) );
} );
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-classic/tests/manual/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function initEditor() {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative'
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ describe( 'DecoupledEditor', () => {
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} ) );
} );
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-decoupled/tests/manual/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function initEditor() {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative'
]
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-inline/tests/inlineeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ describe( 'InlineEditor', () => {
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} ) );
} );
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-editor-inline/tests/manual/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function initEditors() {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative'
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ describe( 'MultiRootEditor', () => {
plugins: [ ArticlePluginSet ],
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
} ) );
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ClassicEditor
'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-engine/tests/manual/slot-conversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ async function createEditor( multiSlot ) {
'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ BalloonEditor.defaultConfig = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'toggleImageCaption',
'imageTextAlternative',
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-html-embed/tests/manual/htmlembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function reloadEditor( config = {} ) {
'undo', 'redo', '|', 'htmlEmbed', 'mediaEmbed'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
}
};

Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-image/tests/manual/imageblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ClassicEditor
'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'toggleImageCaption', 'imageTextAlternative' ]
},
ckfinder: {
// eslint-disable-next-line max-len
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-image/tests/manual/picture.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ClassicEditor
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-indent/tests/manual/rtl.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ClassicEditor
'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [
Expand Down
4 changes: 2 additions & 2 deletions packages/ckeditor5-link/tests/manual/linkdecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ClassicEditor
}
},
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative', '|', 'linkImage' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative', '|', 'linkImage' ]
}
} )
.then( editor => {
Expand Down Expand Up @@ -80,7 +80,7 @@ ClassicEditor
addTargetToExternalLinks: true
},
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative', '|', 'linkImage' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative', '|', 'linkImage' ]
}
} )
.then( editor => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ClassicEditor
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const config = {
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-list/tests/manual/documentlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ClassicEditor
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ClassicEditor
'|', 'undo', 'redo'
],
image: {
toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:full', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ClassicEditor
'|', 'undo', 'redo'
],
image: {
toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:full', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const config = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'toggleImageCaption',
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-minimap/tests/manual/minimap-in-body.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const config = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'toggleImageCaption'
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-minimap/tests/manual/minimap.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const config = {
toolbar: [
'imageStyle:inline',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'toggleImageCaption'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function startStandardEditingMode() {
'restrictedEditingException', '|', 'undo', 'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-show-blocks/tests/manual/showblocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ ClassicEditor
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ClassicEditor
'linkImage',
'|',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'|',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ClassicEditor
'linkImage',
'|',
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'toggleImageCaption',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ClassicEditor
'undo', 'redo'
],
image: {
toolbar: [ 'imageStyle:block', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:block', 'imageStyle:wrapText', '|', 'imageTextAlternative' ]
},
table: {
contentToolbar: [
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-style/tests/manual/styledropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const config = {
],
toolbar: [
'imageTextAlternative', 'toggleImageCaption', '|',
'imageStyle:inline', 'imageStyle:wrapText', 'imageStyle:breakText', 'imageStyle:side', '|',
'imageStyle:inline', 'imageStyle:breakText', 'imageStyle:wrapText', '|',
'resizeImage'
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ClassicEditor
image: {
toolbar: [
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'|',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ClassicEditor
image: {
toolbar: [
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'|',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ClassicEditor
image: {
toolbar: [
'imageStyle:block',
'imageStyle:side',
'imageStyle:wrapText',
'|',
'imageTextAlternative',
'|',
Expand Down
Loading

0 comments on commit 1b3913c

Please sign in to comment.