Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • George 58 posts 165 karma points
    Feb 02, 2015 @ 08:58

    Initializing uCKeditor in ASP masterpage template


    We happen to be using a different syntax for our templates:

    <%@ Master Language="C#" MasterPageFile="~/masterpages/Navigation.master" AutoEventWireup="true" %>
    <asp:Content ContentPlaceHolderID="pageContentBodyTopText" runat="server"> <div id="AquaBTTC"> <umbraco:Item field="bodyText" runat="server" stripParagraph="true" /> </div> </asp:Content>

    How can we initialize uCKeditor frontend in this type of syntax for our templates?

    It seems the below code can't be executed in our templates:


    We use Umbraco version 7.2.1.

    Any help would be appreciated.

  • Jan Skovgaard 11277 posts 23673 karma points MVP 9x admin c-trib
    Feb 02, 2015 @ 09:18
    Jan Skovgaard

    Hi George P

    Is it on the frontend that you need to be able to initialize CK editor? Then you should probably check out how to integrate the plugin here rather than using the package since it's intended for use in the Umbraco backoffice only.


  • George 58 posts 165 karma points
    Feb 02, 2015 @ 09:31

    My mistake, the editor will be used as a substitute to TinyMCE so I guess we need to fix it for the "backend".

    I can't find this plugin in the package repository. So I downloaded it manually from here:

    Then I install it using "Install local package" from Developer > Packages

    Then umbraco gets a new Datatype called uCKEditor.

    I change one of our Document Types that has a property using the datatype Umbraco.Tinymce3 to our new uCKEditor datatype.

    The moment I open the page (in Content) that has the above mentioned document type, there is no editor displayed and I get the following error in my browser console:

     Error: Argument 'uCKEditor.uCKEditorController' is not a function, got undefined

    Any ideas how to solve this?

  • George 58 posts 165 karma points
    Feb 02, 2015 @ 09:42

    Created new thread since I failed in describing the problem properly in my OP.

    link :

    Mods/Admins, please delete this thread. 

  • Alain 73 posts 520 karma points c-trib
    Feb 02, 2015 @ 11:13

    Hi George,

    The code below is Razor syntax:


    It is designed to be used within any umbraco MVC templates with Razor syntax, not for webforms/masterpages.

    I don't think it will work properly with webforms/masterpage.


  • George 58 posts 165 karma points
    Feb 02, 2015 @ 11:18

    Thanks for the reply Alain,

    I misinterpreted your installation description.
    I don't need to use uCKEditor on the frontend, I want to replace TinyMCE in our Umbraco installation with it.

    I have created another thread describing the problem better, appologies for multi-posting.
    I can't delete this thread anymore so please delete it if you can. 

Please Sign in or register to post replies

Write your reply to: