diff --git a/src/js/extensions/WALKTHROUGH-BUTTON.md b/src/js/extensions/WALKTHROUGH-BUTTON.md index 95d704a38..4204ab37b 100644 --- a/src/js/extensions/WALKTHROUGH-BUTTON.md +++ b/src/js/extensions/WALKTHROUGH-BUTTON.md @@ -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 }); @@ -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 }); @@ -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 });