You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var content = '<span class="fa fa-' + id + '"></span>';
if (editor.selection.getNode().textContent === '') {
content += ' ';
}
to (use HTML tag i or em )
// var content = '<span class="fa fa-' + id + '"></span>';
// if (editor.selection.getNode().textContent === '') {
// content += ' ';
// }
var content = ' <i class="fa fa-' + id + '"><span style="color: transparent; display: none;">' + id + '</span></i> ';
and ,Delate Line (tinymce.init)
noneditable_noneditable_class: 'fa',
Editors can change the size ,color, and add links.
It will add extra characters, It is not perfect, but is this fine?
I referred to WP Visual Icon Fonts
The text was updated successfully, but these errors were encountered:
Now(v2.0.9)
to (use HTML tag i or em )
and ,Delate Line (tinymce.init)
noneditable_noneditable_class: 'fa',
Editors can change the size ,color, and add links.
It will add extra characters, It is not perfect, but is this fine?
I referred to WP Visual Icon Fonts
The text was updated successfully, but these errors were encountered: