Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbarnas committed Feb 16, 2021
1 parent 8424c2f commit 329afcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/ckeditor5-alignment/src/alignmentediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function _buildUpcastInlineDefinitions( options ) {
return definitions;
}

// Prepare conversion definitions for both upcast and downcast.
// Prepare conversion definitions for upcast and downcast alignment with classes.
// @private
function _buildClassDefinition( options, alignmentClassNames ) {
const definition = {
Expand Down
5 changes: 1 addition & 4 deletions packages/ckeditor5-alignment/tests/manual/alignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ ClassicEditor
plugins: [ ArticlePluginSet, Alignment ],
toolbar: [
'heading', '|', 'alignment', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
],
alignment: {
options: [ 'left', 'center' ]
}
]
} )
.then( editor => {
window.editor = editor;
Expand Down

0 comments on commit 329afcd

Please sign in to comment.