title: How to strikethrough content in tinymce editor?
body: <p>I am using <a href="https://github.com/Ledzz/angular2-tinymce" rel="nofollow noreferrer">angular2-tinymce</a> library to work with tinymce editor in my Ionic/Angular project. Now i want to strike through the content of the editor based on one some logic. My attempts are below:</p>
  <h1>Attempt-1:</h1>
  <p>I tried to assign a <code>strikethrough</code> css class to the <code>app-tinymce</code>.</p>
  <pre><code>// .html file
  &lt;app-tinymce class=&quot;note-input-textarea&quot; [(ngModel)]='noteText'
            [ngClass]=&quot;{
                         strikethrough: isDeleted
                       }&quot;
            [disabled]=&quot;canUpdateNoteDetail&quot;&gt;
      &lt;/app-tinymce&gt;
  
  // .scss file
  .strikethrough {
    text-decoration: line-through;
  }
  </code></pre>
  <p>But it didn't work.</p>
  <h1>Attempt-2:</h1>
  <pre><code>// .ts file
   export class UpdateProgressNotePage {
    @ViewChild(TinymceComponent) private tinyMce: TinymceComponent;
    isDeleted: boolean = true;
    noteText: string = &quot;Sample Note&quot;;
     constructor(){
       this.initialize();
     }
     
     initialize() {
       if(isDeleted) {
         this.tinyMce.editor.execCommand('Strikethrough', false);
         this.tinyMce.editor.execCommand('Strikethrough', false, this.noteText); // Tried with this also but didn't work
       } 
     }
  
   }
  </code></pre>
  <p>But it didn't work for me. I found in this <a href="https://www.tinymce.com/docs/advanced/editor-command-identifiers/" rel="nofollow noreferrer">link</a> that <code>Strikethrough</code> command can be applied to tinyMce editor.</p>