We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Keep getting run time error -- constant.js:31 Uncaught The renderer Content is not found

Thread ID:





141007 Nov 19,2018 02:11 AM UTC Nov 21,2018 12:25 PM UTC JavaScript - EJ 2 3
Tags: RichTextEditor
Asked On November 19, 2018 02:11 AM UTC

This code does not work - If I replace all my includes with
   <script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js" type="text/javascript"></script>
it works fine. I don't want to include 5Meg file for Rich text editor.

Any help much appreciated

Thank you.

 <!DOCTYPE html>
  <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-base/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-buttons/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-inputs/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-lists/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-navigations/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-popups/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-splitbuttons/styles/material.css" rel="stylesheet" type="text/css" />
    <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/ej2-richtexteditor/styles/material.css" rel="stylesheet" type="text/css" />

                <div id="defaultRTE" style="width:100%;border:1px solid black;height:500px;">
                    <p>The rich text editor is WYSIWYG ("what you see is what you get") editor useful to create and edit content, and return the valid <a rel='nofollow' href='https://ej2.syncfusion.com/home/' target='_blank'>HTML markup</a> or <a rel='nofollow' href='https://ej2.syncfusion.com/home/' target='_blank'>markdown</a> of the content</p>


      <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-base/dist/global/ej2-base.min.js"></script>
        <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-buttons/dist/global/ej2-buttons.min.js"></script>
        <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-navigations/dist/global/ej2-navigations.min.js"></script>
        <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-popups/dist/global/ej2-popups.min.js"></script>
        <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-splitbuttons/dist/global/ej2-splitbuttons.min.js"></script>
        <script type="text/javascript" src="https://cdn.syncfusion.com/ej2/ej2-richtexteditor/dist/global/ej2-richtexteditor.min.js"></script>

    <script typeof="text/javascript">

        document.addEventListener("DOMContentLoaded", function () {

                var defaultRTE;

                var defaultRTE = new ej.richtexteditor.RichTextEditor({
                    toolbarSettings: {
                        items: ['Bold', 'Italic', 'Underline', 'StrikeThrough',
                            'FontName', 'FontSize', 'FontColor', 'BackgroundColor',
                            'LowerCase', 'UpperCase', '|',
                            'Formats', 'Alignments', 'OrderedList', 'UnorderedList',
                            'Outdent', 'Indent', '|',
                            'CreateTable', 'CreateLink', 'Image', '|', 'ClearFormat', 'Print',
                            'SourceCode', 'FullScreen', '|', 'Undo', 'Redo']
                    maxLength: 2000

Prince Oliver [Syncfusion]
Replied On November 19, 2018 07:01 AM UTC

Hi Sampurnima, 
Thank you for contacting Syncfusion Support. 
We suggest you use our Custom Resource Generator to generate custom script and CSS for RichTextEditor or any required components and refer this custom resource in your application for rendering RTE. For more information regarding the CRG, kindly refer to the following documentation link:https://ej2.syncfusion.com/javascript/documentation/common/custom-resource-generator  
Please let us know if you require any further assistance on this. 

Replied On November 19, 2018 04:13 PM UTC

OK downloaded from generator

New bug shows

ej2.js:1796 Uncaught RangeError: Maximum call stack size exceeded
    at Observer.notExist (ej2.js:1796)
    at Observer.notify (ej2.js:1784)
    at RichTextEditor.Component.notify (ej2.js:3363)
    at RichTextEditor.mouseUp (ej2.js:28449)
    at Observer.notify (ej2.js:1786)
    at RichTextEditor.Component.notify (ej2.js:3363)
    at RichTextEditor.mouseUp (ej2.js:28449)
    at Observer.notify (ej2.js:1786)
    at RichTextEditor.Component.notify (ej2.js:3363)
    at RichTextEditor.mouseUp (ej2.js:28449)

Prince Oliver [Syncfusion]
Replied On November 21, 2018 12:25 PM UTC

Hi Sampurnima, 

Thank you for your update. 

We have resolved this issue in our end and have refreshed the Custom Resource Generator (CRG). Latest resources for RTE can be downloaded from the below link. 

Please let us know, if you need any further assistance on this 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon