_insertIcon() {
    let { range, sel } = store.state.selectionData;

    // check if selection resides already inside iconElement
    const iconElement = document.createElement('i');
    iconElement.classList.add('icon');
    iconElement.classList.add('fas');
    iconElement.classList.add('fa-bell');
    iconElement.setData('icon-family', 'fas');
    iconElement.setData('icon-name', 'bell');
    iconElement.setData('icon-size', '1');

    range.deleteContents();
    sel.removeAllRanges();
    range.insertNode(iconElement);
    sel.addRange(range);
  }
/**
   * Create an element which holds a FontAwesome Icon
   * TODO: Create and open new custom icon picker control
   * @private
   */
Create an element which holds a FontAwesome Icon
TODO: Create and open new custom icon picker control
@private
Create an element which holds a FontAwesome Icon TODO : Create and open new custom icon picker control @private
_insertIcon() {
    let { range, sel } = store.state.selectionData;
    const iconElement = document.createElement('i');
    iconElement.classList.add('icon');
    iconElement.classList.add('fas');
    iconElement.classList.add('fa-bell');
    iconElement.setData('icon-family', 'fas');
    iconElement.setData('icon-name', 'bell');
    iconElement.setData('icon-size', '1');
    range.deleteContents();
    sel.removeAllRanges();
    range.insertNode(iconElement);
    sel.addRange(range);
  }
_insertIcon ( ) { let { range , sel } = store . state . selectionData ; const iconElement = document . createElement ( 'i' ) ; iconElement . classList . add ( 'icon' ) ; iconElement . classList . add ( 'fas' ) ; iconElement . classList . add ( 'fa-bell' ) ; iconElement . setData ( 'icon-family' , 'fas' ) ; iconElement . setData ( 'icon-name' , 'bell' ) ; iconElement . setData ( 'icon-size' , '1' ) ; range . deleteContents ( ) ; sel . removeAllRanges ( ) ; range . insertNode ( iconElement ) ; sel . addRange ( range ) ; }
Create an element which holds a FontAwesome Icon
 TODO: Create and open new custom icon picker control
 @private
Create an element which holds a FontAwesome Icon TODO : Create and open new custom icon picker control @private
// check if selection resides already inside iconElement