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

Ship a "SimpleInsertLink" tool as a complement to InsertLink tool

3 Answers 128 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stefan N.
Top achievements
Rank 1
Stefan N. asked on 19 Sep 2010, 01:28 AM
Dear Telerik Team,

The InsertLink tool that currently ships with RadEditor is too complicated and confuses non-technical users.  When's the last time anyone created a named anchor link to another section of the same page?

Please ship an alternate "SimpleInsertLink" tool, in fact ,the exact one you have right on this forum editor (see attached).  We had to waste time to implement one just like it.  Thanks,

Stefan

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Sep 2010, 08:05 AM
Hello Stefan,

You can enable the InsertLink light dialog of RadEditor as shown in this live demo: Dialogs.

<telerik:EditorTool Name="InsertLink" Text="Insert Link Dialog" />


Sincerely yours,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Stefan N.
Top achievements
Rank 1
answered on 22 Sep 2010, 02:28 AM
Hi Rumen,

The InsertLink tool is still not simple enough.  It has a "Target" drop-down box with options like "custom target" (how many non-technical users know what that is?) and it has the "Properties" button that opens the full link creation experience allowing a user to shoot themselves in the foot with various options they don't understand.

When I asked for "SimpleInsertLink" I really meant simple! :-)  (and whomever is responsible for designing this Forum seems to agree with me or else why would they have gone through the trouble of implementing exactly what I'm asking for? - see my initial attachment).  Thanks,

Stefan
0
Rumen
Telerik team
answered on 22 Sep 2010, 02:32 PM
Hi Stefan N.,

Ok, I get you request. To achieve it register the external dialogs of RadEditor, load the \EditorDialogs\InsertLink.ascx and hide with style="display:none;" the following TR element containing the target dropdown:

<tr style="display:none;">
    <td>
        <label for="LinkTargetCombo" class="reDialogLabelLight">
            <span>[linktarget]</span>
        </label>
    </td>
    <td class="reControlCellLight">
        <select id="LinkTargetCombo" class="rfdIgnore">
            <optgroup label="PresetTargets">
                <option value="_none">[none]</option>
                <option value="_self">[targetself]</option>
                <option value="_blank">[targetblank]</option>
                <option value="_parent">[targetparent]</option>
                <option value="_top">[targettop]</option>
                <option value="_search">[targetsearch]</option>
                <option value="_media">[targetmedia]</option>
            </optgroup>
            <optgroup label="CustomTargets">
                <option value="_custom">[addcustomtarget]</option>
            </optgroup>
        </select>
    </td>
</tr>

and the <td> element containing the All Properties button:

<td style="display:none;" class="reAllPropertiesLight">
    <button type="button" id="lmlAllProperties">
    [allproperties]
    </button>
</td>

For your convenience I have attached the modified InsertLink.ascx dialog file.

Best wishes,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Stefan N.
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Stefan N.
Top achievements
Rank 1
Share this question
or