Skip to content

Commit

Permalink
Update WALKTHROUGH docs
Browse files Browse the repository at this point in the history
Rangy warning: DEPRECATED: createCssClassApplier  is deprecated. 
Use createClassApplier instead.
  • Loading branch information
hasentopf authored Nov 4, 2016
1 parent d2c21a7 commit e5b1090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/extensions/WALKTHROUGH-BUTTON.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var HighlighterButton = MediumEditor.Extension.extend({
name: 'highlighter',

init: function () {
this.classApplier = rangy.createCssClassApplier('highlight', {
this.classApplier = rangy.createClassApplier('highlight', {
elementTagName: 'mark',
normalize: true
});
Expand Down Expand Up @@ -200,7 +200,7 @@ var HighlighterButton = MediumEditor.Extension.extend({
name: 'highlighter',

init: function () {
this.classApplier = rangy.createCssClassApplier('highlight', {
this.classApplier = rangy.createClassApplier('highlight', {
elementTagName: 'mark',
normalize: true
});
Expand Down Expand Up @@ -279,7 +279,7 @@ var HighlighterButton = MediumEditor.extensions.button.extend({
init: function () {
MediumEditor.extensions.button.prototype.init.call(this);

this.classApplier = rangy.createCssClassApplier('highlight', {
this.classApplier = rangy.createClassApplier('highlight', {
elementTagName: 'mark',
normalize: true
});
Expand Down

0 comments on commit e5b1090

Please sign in to comment.