Unplanned
Last Updated: 07 Jun 2016 07:01 by ADMIN
ADMIN
Ianko
Created on: 16 Sep 2015 06:56
Category: Editor
Type: Feature Request
0
Foreground Color command should properly decorate links when multiple parent block elements are selected
When creating a list or multiple paragraphs, which have links inside text, applying fore color to the whole text, links does not get affected. 

As a side effect, when only the link is selected and the same color is applied, nothing happens.  

To temporarily improve RadEditor by default to style the links according to the span wrapper elements, you can use the following approach:


 ○ When ContentAreaMode is set to Iframe or not configured:

    ASP.NET
    -----------------------------------------------------------------------
        <telerik:RadEditor runat="server">
            <CssFiles>
                <telerik:EditorCssFile Value="Styles.css" />
            </CssFiles>
            <Content>
                <ul>
                    <li>text <a href="#">link</a> text</li>
                    <li>text <a href="#">link</a> text</li>
                    <li>text <a href="#">link</a> text</li>
                </ul>
            </Content>
        </telerik:RadEditor>
    -----------------------------------------------------------------------

    Styles.css
    -----------------------------------------------------------------------
        span a {
            color:inherit;
        }
    -----------------------------------------------------------------------


 ○ When ContentAreaMode is set to Div:
    -----------------------------------------------------------------------
        <style>
            .reContentArea span a {
                color:inherit;
            }
        </style>

        <telerik:RadEditor runat="server" ContentAreaMode="Div">
            <Content>
                <ul>
                    <li>text <a href="#">link</a> text</li>
                    <li>text <a href="#">link</a> text</li>
                    <li>text <a href="#">link</a> text</li>
                </ul>
            </Content>
        </telerik:RadEditor>
    -----------------------------------------------------------------------
0 comments