Why does Editor use TextArea instead of contenteditable element?

5 posts, 0 answers
  1. Zohar
    Zohar avatar
    13 posts
    Member since:
    Sep 2014

    Posted 26 Jan 2015 Link to this post

    I am trying to use the kendo-editor angular directive in my app and am having problems because the directive only works on text areas.

    More specifically I need to integrate it with another directive that only works on contenteditable elements.  Is there a way to get kendo-editor to work in a contenteditable div?
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 27 Jan 2015 Link to this post

    Hello Zohar,

    The inline editing mode of the editor uses a contentEditable div. Both modes have their uses -- the regular mode provides isolation from the surrounding page via an contentEditable iframe, while the inline editing provides a good user experience for editing complete pages.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Zohar
    Zohar avatar
    13 posts
    Member since:
    Sep 2014

    Posted 27 Jan 2015 in reply to Alex Gyoshev Link to this post

    Hi Alex,

    Thanks for your response. I cant seem to find a way to implement inline editing with the kendo angular directive.. Placing the directive on a div has no effect. IE the editor does not show up.

    Is there a way to use the angular directive inline?

    Thanks
  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 29 Jan 2015 Link to this post

    Hello Zohar,

    Here is a Dojo snippet that shows the inline editor instantiated via a AngularJS directive.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Zohar
    Zohar avatar
    13 posts
    Member since:
    Sep 2014

    Posted 29 Jan 2015 in reply to Alex Gyoshev Link to this post

    Perfect... Thanks!
Back to Top
Kendo UI is VS 2017 Ready