TerryMooreII / angular-wysiwyg

An AngularJS WYSIWYG directive that multiple instances and two-way data-binding.
MIT License
121 stars 76 forks source link

'HTML Source' button #41

Closed micbsv closed 9 years ago

micbsv commented 9 years ago

Are there any plans to add this button? Thank you for the nice control!

TerryMooreII commented 9 years ago

Are you just looking for a button to show the html that this wysiwyg is generating?

micbsv commented 9 years ago

I need the functionality that the '<> Source' button provides on the CKEditor: http://ckeditor.com/demo

shammy commented 9 years ago

I used xeditable plugin to duplicate '<> Source' editable-textarea="data.text"

TerryMooreII commented 9 years ago

You should be able to do this out side of the wysiwyg editor by displaying the content of the bound scope variable in a div or text area. However I will add this as a future feature.