Editor Placeholder

4 posts, 0 answers
  1. Nisarg
    Nisarg avatar
    18 posts
    Member since:
    Jan 2015

    Posted 29 Jan 2015 Link to this post

    Hi there,

    Is there a configuration option for a placeholder for kendoEditor?
    If not, how could I check that there is no text inside the editor? 

    Thank you,
    Nisarg
  2. Nisarg
    Nisarg avatar
    18 posts
    Member since:
    Jan 2015

    Posted 30 Jan 2015 in reply to Nisarg Link to this post

    I was able to do the most, the only problem is that there is no focus out/focus in event on the kendo editor. If I could only trigger those events when the body tag inside the iframe has/does not have class "k-state-active", then this problem would be solved. 

    If some one knows what kendo code to edit for this, please let me know.

    Thanks,
    Nisarg
  3. Kendo UI is VS 2017 Ready
  4. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 02 Feb 2015 Link to this post

    Hello Nisarg,

    At this time, there is no configuration option for a placeholder. You can vote for this feature on UserVoice.

    As for focus in / out events, the focus / blur events of the iframe document might be suitable for this case. You can get the iframe window via the window field of the editor instance.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Nisarg
    Nisarg avatar
    18 posts
    Member since:
    Jan 2015

    Posted 02 Feb 2015 in reply to Alex Gyoshev Link to this post

    Thanks Alex. That will help.
Back to Top
Kendo UI is VS 2017 Ready