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

Chrome key sequence causes undesirable results

2 Answers 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Todd A
Top achievements
Rank 1
Todd A asked on 19 Feb 2015, 08:47 PM
On our web solution, using the editor, in chrome, a tab inserts this:

<p><span class="Apple-tab-span" style="white-space: pre;"> </span></p>

not an issue, but if you immediately press (delete), the html is changed to:

<span class="Apple-tab-span" style="white-space: pre; color: #56585a; font-family: Arial, Helvetica, sans-serif; font-size: 0.8em; background-color: #93bfd9;">

It's like the tab delete sequence triggers some type of macro. 

Anyone seen anything like this? And have a potential solution?

Thanks,
Todd.

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 24 Feb 2015, 08:54 AM
Hi Todd,

The mentioned behavior is mostly due to a Chrome behavior to always normalize the default style of the text with the body's layout.

You can try to fix that by resetting the styles that are being applied to the content area by using this technique:
<telerik:RadEditor ID="RadEditor1" runat="server">
    <CssFiles>
        <telerik:EditorCssFile />
    </CssFiles>
</telerik:RadEditor>

Other option, that might help you is changing the way Tab key behaves. You can find more about that in this feedback portal item.


Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Todd A
Top achievements
Rank 1
answered on 24 Feb 2015, 04:44 PM
Hi lanko,  The fixed posted worked perfect!  Thanks very much!!

Regards, Todd.
Tags
Editor
Asked by
Todd A
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Todd A
Top achievements
Rank 1
Share this question
or