This is a migrated thread and some comments may be shown as answers.

Controls inside editor.

0 Answers 98 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 30 May 2012, 11:34 PM
EDIT: I'm not wondering if this is possible anymore.   :)
As long as designMode is on, I'm never going to get the behavior I'm looking for.


Wondering if this is even possible:

We're trying to use the editor as sort of a rudimentary form builder. I'd love to give people placeholders for the Kendo controls inside the editor. Say, for example, that they wanted to insert a date picker. To get a control formatted like a Kendo UI date picker, I'd have to insert something like this:

<span class="k-widget k-datepicker k-header" style="width: 150px;">
    <span class="k-picker-wrap k-state-default k-widget">
        <input id="dp" class="k-input" style="width: 150;" readonly="readonly">
        <span class="k-select" unselectable="on">
            <span class="k-icon k-icon-calendar" unselectable="on">select</span>
        </span>
    </span>
</span>


The problem with that of course is that they can mess up those span tags, drag the icon around, etc.

Is there any way to make that control un-editable inside the editor? Any other options?

Thanks!

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Jeff
Top achievements
Rank 1
Share this question
or