smonetti / btbutton

CKEditor4 Bootstrap3 button widget
GNU General Public License v3.0
9 stars 27 forks source link

Add init functions to set initial element state #9

Closed dstorozhuk closed 7 years ago

dstorozhuk commented 7 years ago

Issue #5. This PR add init functions to set initial element state. Also, prevent removing button icons while it tags empty (span, i), so icons retain after switch to/from source view mode.

dstorozhuk commented 7 years ago

@smonetti to review.

adamdelaney commented 7 years ago

@smonetti I have tested this PR and it resolves the issue. I would recommend merging this and updating the ckeditor project. @dstorozhuk thanks for the PR.