title: How to install plugins for CKEditor 5 in angular 8?
body: <p>I'm trying to install a plugin called <a href="https://ckeditor.com/docs/ckeditor5/latest/features/mathtype.html" rel="nofollow noreferrer">Math equations and chemical formulas</a> for entering LaTex in CKEditor5 in Angular 8</p>
  
  <p>. How do I add that plugin and toolbar in CKEditor 5</p>
  
  <p>I tried adding the configuration in CKEditor tag in HTML
  and add plugins and toolbar details in ts file</p>
  
  <p>ckeditor.component.ts</p>
  
  <pre><code>import {Component, OnInit} from '@angular/core';
  import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
  import MathType from '@wiris/mathtype-ckeditor5';
  
  ClassicEditor
    .create(document.querySelector('#editor'), {
      plugins: [MathType],
      toolbar: ['MathType']
    }).then(editor =&gt; {
    console.log('Editor was initialized', editor);
  })
    .catch(error =&gt; {
      console.error(error);
    });
  
  @Component({
    selector: 'app-ckeditor',
    templateUrl: './ckeditor.component.html',
    styleUrls: ['./ckeditor.component.scss']
  })
  export class CkeditorComponent implements OnInit {
    public Editor = ClassicEditor;
  
  
    constructor() { }
  
  
    ngOnInit() {  }
  }
  
  </code></pre>
  
  <p>ckeditor.component.html</p>
  
  <pre><code>&lt;ckeditor id="editor"
    [editor]="Editor"&gt;
  &lt;/ckeditor&gt;
  </code></pre>
  
  <p>I expect to see the CKEditor 5 with the math equations toolbar which supports latex input</p>
  
  <p>Edit: i am currently receiving this error, the version im using is  @wiris/mathtype-ckeditor5@7.17.0</p>
  
  <pre><code>:4200/main.js:482 TypeError: Cannot read property 'getAttribute' of null
      at IconView._updateXMLContent (:4200/vendor.js:139959)
      at IconView.render (:4200/vendor.js:139935)
      at IconView.&lt;anonymous&gt; (:4200/vendor.js:148840)
      at IconView.fire (:4200/vendor.js:146753)
      at IconView.&lt;computed&gt; [as render] (:4200/vendor.js:148844)
      at ViewCollection.&lt;anonymous&gt; (:4200/vendor.js:143322)
      at ViewCollection.fire (:4200/vendor.js:146753)
      at ViewCollection.add (:4200/vendor.js:143914)
      at ButtonView.render (:4200/vendor.js:138797)
      at ButtonView.&lt;anonymous&gt; (:4200/vendor.js:148840)
  
  </code></pre>
  
  <p>all i can see is a text called 'Rich Text Editor' and a blank textfield which does not take any input. screen shot 
  <a href="https://i.stack.imgur.com/LOpNi.png" rel="nofollow noreferrer">here</a></p>