Umbraco7 post screen to change the font size and color

  
Umbraco7

modify the following config/TinyMceConfig.

<!--Add the font selection-->
        <command>
            <umbracoAlias>mcefontselect</umbracoAlias>
            <icon>images/editor/fontselect.png</icon>
            <tinyMceCommand value="" userInterface="true" frontendCommand="fontselect">fontselect</tinyMceCommand>
            <priority>21</priority>
        </command>
        <!--Add the font size selection-->
        <command>
            <umbracoAlias>mcefontsizeselect</umbracoAlias>
            <icon>images/editor/fontsizeselect.png</icon>
            <tinyMceCommand value="" userInterface="true" frontendCommand="fontsizeselect">fontsizeselect</tinyMceCommand>
            <priority>22</priority>
        </command>
        <!--Add the font color selection-->
        <command>
            <umbracoAlias>mceForeColor</umbracoAlias>
            <icon>images/editor/forecolor.gif</icon>
            <tinyMceCommand value="" userInterface="true" frontendCommand="forecolor">forecolor</tinyMceCommand>
            <priority>23</priority>
        </command>
        <!-- Stagger the priority: -->

Add the following plugins tags at the bottom of the.

<plugins>
        <plugin loadOnFrontend="true">textcolor</plugin>
    </plugins>

In order to add the buttons to modify the font in the rich text editor actually after making the above changes, edit the development menu data type from the Administration screen of Umbraco.

Let's check 'fontselect', 'fontsizeselect', 'forecolor', as in the following figure, choose a RichText editor

(Does not reflect modified the first config file does not restart IIS. If, in such as rental Server

From the management menu to restart the server. )

font1.png

font2.png

font3.png

font4.png

comments powered by Disqus
search