Skip to content

Commit

Permalink
remove deprecated createListSection (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic authored Jul 26, 2016
1 parent df15cd8 commit ca8f997
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ Additionally `editor` provides the following actions:
* `addCardInEditMode`, passed a card name and payload will add that card at the end of
a post and render it in "edit" mode initially.
* `addAtom`, passed an atomName, text, and payload, will add that atom at the cursor position.
* [Deprecated] `createListSection`, changing selected content into list items.

The `editor` object is often used indirectly by passing it to other
components. For example:
Expand Down
5 changes: 0 additions & 5 deletions addon/components/mobiledoc-editor/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ export default Component.extend({
editor.toggleSection(sectionTagName);
},

createListSection(tagName) {
Ember.deprecate('[ember-mobiledoc-editor] `createListSection` is deprecated. Use `toggleSection` with "ul" or "ol" instead', false);
this.send('toggleSection', tagName);
},

addCard(cardName, payload={}) {
this._addCard(cardName, payload);
},
Expand Down
1 change: 0 additions & 1 deletion addon/components/mobiledoc-editor/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
addAtom=(action 'addAtom')
addCardInEditMode=(action 'addCardInEditMode')
toggleSection=(action 'toggleSection')
createListSection=(action 'createListSection')
)}}

<div class="mobiledoc-editor__editor-wrapper">
Expand Down

0 comments on commit ca8f997

Please sign in to comment.