Max characters in a Rich Text Editor?

Is there a "hard limit" on the number of characters I can enter into a Rich Text Editor?
My testing suggests that you can only have 4000 characters. If i submit more than 4000 i.e. 4001, I get the following error message:
ORA-01461: can bind a LONG value only for insert into a LONG column
The data type I am trying to insert into is of type CLOB (which if memory serves can store upto 4 GIG).
We are using Oracle Application Server (Apache and MOD_PLSQL) so I imaging that there is possible a limit here as well with how much data can be posted.
Thanks for any help.
Duncs

Hi Duncs,
I tried to reproduce your problem on our internal development system but was not able to do so. What did I do?
1) Created a new table with the following statement
CREATE TABLE  DEPT_WITH_CLOB
   (     "DEPTNO" NUMBER(2,0),
     "DNAME" VARCHAR2(14),
     "LOC" VARCHAR2(13),
     "MORE_TEXT" CLOB,
      PRIMARY KEY ("DEPTNO") ENABLE
   ) ;2) Created a new application with a "Report and Form" based on the DEPT_WITH_CLOB table.
3) Modified P2_MORE_TEXT to use Rich Text Editor as item type.
4) Executed the page and entered a text which was more than 18,000 char long
5) Clicked apply changes and everything was stored without a problem.
Can you provide more information about your system?
1) APEX version
2) Database Version
3) Do you use database links in your apps or do other applications use database links?
4) If yes, which database version are those databases?
5) If you are able to reproduce the problem on apex.oracle.com that would also be of great help.
Thanks
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Using a different Rich Text Editor ?

    Hi,
    I'd like to know if you're using a different Rich Text Editor other than the one provided by Oracle ?
    Are you satisfied with it ? Especially in the management of images ?
    Thanks
    Max.

    there is a textflow component
    http://blog.flexexamples.com/2009/07/25/exporting-a-textflow-object-in-flex-4/
    still exports to font tags unfortunately, but its closer than the richtexteditor. Its basically at the point where you could even write your own small parser and adapt the output to the format you desire.

  • Print PDF rich text editor using BI Publisher

    Hi !
    I have a CLOB field from database, and I store data using a rich text editor, like a MS Word system, here as you know, I can write words in bold format, use differents kind of colors, etc... and use all formatted text that the editor allow me. I haven't problems once save this data into table and restore again, I can see all this data formatted , and I don't loose any property of this formatted text.
    The problem is when I want print this information in the same way that I can see in the rich text editor. I use BI Publisher for generate a PDF, when I send this field for print a PDF, the PDF that BI publisher generate, print only text, prints all characters including generating that text is formatted, for example, if the field is written in bold print "<b>hello</b>" in the PDF generated by BI Publisher see "< b. > hello < / b>".
    Please which is the way for print the same as is displayed in the rich text editor?
    Thanks in advance.
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:36
    Edited by: Almogaver on 07-mar-2011 14:37

    Bump Again. I understand how to remove the HTML tags, thats not a problem. The problem is getting the report to print the data from a Rich Text Field stored in a CLOB or NCLOB as formatted text. Is there a "Master Style Template" or "Master Rich Text Field Subtemplate"?
    Richard

  • Display instantly the length of the text entered in the rich text editor

    Hi everybody,
    I'm developing an apex application with apex 4.1.1 and Oracle 11.2.
    I have a page in which I have a form that allows to create a new message on the database.
    A message has a title, description, text and date.
    For the text I use the item "rich editor text". The problem is that item doesn't show the length of characters entered (character counter for the textarea). In the database the corresponding column is varchar2(2000). What I do is a validation after submit that checks if the limit 2000 was exceeded or not.
    But what I want to do more is to display instantly the length of the text entered in the editor. I have tried to do that through a dynamic action. But the event "onChange" for the item "rich text editor" didn't work.
    Has anyone any idea about that issue?
    Thanks for helping.
    Kind regards,
    Edited by: Khadija Khalfallah on Apr 25, 2013 4:06 AM

    sorry about that, I missed that tidbit in your OP... well I think there is a good reason why there isn't a count character option -- due to the hidden "html" characters responsible for the "richness" (bold/color, etc) applied to the text would be difficult to count true characters.. if I was bent on doing this, I'd continue using the item you are using, but have a HIDDEN text area that is updated via javascript onkeyup for each keystroke (again, keeping in mind you'd have to filter certain keys) and then that intelligence could be used. I would probably dig through the javascript responsible for the rich text editor (is it still fckeditor??) -- there might already be code in there that isn't clearly visible to you that does this already.. alas, I see now the validity of your challenge.

  • Database Column Type for Rich Text Editor

    Hi,
    I have a page item as Rich Text Editor. Now I want to store the data in tables in the same format as user entered in the page item.
    What would be the database column type for that?
    Thanks,
    Mehabub

    Mehabub Sheikh wrote:
    I have a page item as Rich Text Editor. Now I want to store the data in tables in the same format as user entered in the page item.
    What would be the database column type for that?As usual, the answer is "It depends".
    In this case it depends on the nature and size of the content. For content up to 4000 bytes in length, use VARCHAR2 or NVARCHAR2 (depending on the DB character set and globalization requirements), for content of longer length use CLOB or NCLOB (again depending on DB characterset and your globalization requirements).
    Note the effect of DB character set on the number of characters you can store in a VARCHAR2 or NVARCHAR2 column, and the overhead of HTML tags generated by formatting in the Rich Text Editor.

  • How to Change Width of Rich Text Editor

    We are attempting to use a rich text editor. By default, the span for the RTE gets a width of 760px. This is much wider than we'd like.
    The id attribute of the span control gets set to cke_<PAGE_ITEM_NAME_HERE>, so this jQeury selector should obtain a reference to the control and allow us to change or remove the width attibute
    span#cke_P3_DESCRIPTION_2However, what we've notice is that the control does not exist until after the page has been loaded. In other words, if we do this in the "Execute when Page Loads" section, nothing happens
    $('span#cke_P3_DESCRIPTION_2').css('width','');We can confirm this by popping up an alert. In the page load section, this yields "0" but, in a button on the page, that gets clicked after the page is open, it yields "1"
    alert($('span#cke_P3_DESCRIPTION_2').length);So, since the control isn't actually there at load time, what's the best way to do this?
    -Joe

    Thanks for this tip, VC! Worked like a charm.
    I was having a problem with a rich text field in a modal region in one of the new responsive themes (theme 25). The page dutifully alters the spacing and layout of the page regions as the browser window is made wider or narrower, and the modal region also resizes appropriately. But the CKEditor window within the modal region stubbornly stayed at whatever value it defaults to (30 characters, which I guess translates to the number of pixels mentioned by the OP).
    I slightly modified your code below to set the width property to 100% instead of a fixed value and now the editor window expands to fill the available modal region width. Perfect!
    Mike

  • How to customize the Rich Text Editor task flow in the doc lib?

    Dear Experts in WCP forum,
    You know that webcenter portal has a feature is called customizing task flow.. so we have client request to customize the Rich Text Editor task flow of the Document library. Such as disable the Format, Font, Size drop down menu of the richtext editor UI.   But after I open the editHTML.jsff of the oracle.webcenter.doclib. the code is like this:
                        <f:facet name="richtext">
                               <af:panelGroupLayout layout="scroll" id="rtepng2">
                                  <rte:editor id="rte" value="#{pageFlowScope.rte.HTMLTextArea}" converter="#{pageFlowScope.rte.HTMLConverter}"/>
                                  <!-- keep region wrapped in the facet to be stretched-->
                                  <af:region value="#{bindings.linksResourcePicker.regionModel}" id="lpr"/>
                               </af:panelGroupLayout>
                            </f:facet>
    So likes that editor in fact is from <rte:editor tag.. my question is how to dig into this <rte:editor  to find its jsff code?  And change the menu inside to do the cusomization for them?
    Is that possible?
    A million thanks here in advance!
    wayne

    Based on the Tag TLD reference the editor tag has the following attributes:
    <tag>
        <description>An ADF Wrapper to use the CKeditor&gt;</description>
        <name>editor</name>
        <tag-class>oracle.webcenter.doclib.rte.internal.taglib.RteEditorTag</tag-class>
        <body-content>JSP</body-content>
        <attribute>
          <description>&lt;html&gt;the identifier for the component.  The identifier
    must follow a subset of the syntax allowed in HTML:
    &lt;ul&gt;
    &lt;li&gt;Must not be a zero-length String.&lt;/li&gt;
    &lt;li&gt;First character must be an ASCII letter (A-Za-z) or an underscore ('_').&lt;/li&gt;
    &lt;li&gt;Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').&lt;/li&gt;
    &lt;/ul&gt;&lt;/html&gt;</description>
          <name>id</name>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <description>The initial value of this component.</description>
          <name>value</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <deferred-value>
            <type>java.lang.String</type>
          </deferred-value>
        </attribute>
        <attribute>
          <description>a converter object</description>
          <name>converter</name>
          <deferred-value>
            <type>javax.faces.convert.Converter</type>
          </deferred-value>
        </attribute>
        <attribute>
          <description>
            this is a pass through to get/set the CKEditor ToolbarSet property
          </description>
          <name>toolbarSet</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <deferred-value>
            <type>java.lang.String</type>
          </deferred-value>
        </attribute>
        <attribute>
          <description>
            this is a pass through to get/set the CKEditor height property
          </description>
          <name>height</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <deferred-value>
            <type>java.lang.String</type>
          </deferred-value>
        </attribute>
        <attribute>
          <description>
            this is a pass through to get/set the CKEditor width property
          </description>
          <name>width</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <deferred-value>
            <type>java.lang.String</type>
          </deferred-value>
        </attribute>
      </tag>
    Which means that if you want to change the toolbar you have to check what is the type of toolbars the CKEditor uses, I can tell you that there are two defaults: Basic and Full and I believe the tag uses a custom toolbar called WC by default.
    So if you want to change the toolbar to only show basic, change the toolbarSet property to Basic to make the final result looks like <rte:editor id="rte" value="#{pageFlowScope.rte.HTMLTextArea}" converter="#{pageFlowScope.rte.HTMLConverter}" toolbarSet="Basic" />
    This is not tested, this is only a few insights I got reading about CKEditor

  • Rich text editor (apex 4.0)

    using blue gray theme and a page with a rich text editor. Expanding the rich text options displays the text body p below the text area that persists even if you close the rich text options. Anybody know how to get rid of that behavior?

    I think your mixing 2 technologies.
    At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
    XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
    Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
    So my advice: use jasperreports (also it is free for commercial usage)
    Success
    Br,
    Nico

  • Rich Text Editor Options

    I am working on a project that needs a Rich-Text Editor with
    ability to insert tables, images, and more complex editing features
    such as what FCKEditor provides but ideally that was built with
    Flex in mind. Is there such an editor available? I have seen a few
    options but nothing that really matched the functionality of
    FCKEditor for example.
    Thanks

    Hello,
    I was looking for flex version of the FCK Editor,
    unfortantly, I could not find a fully complete solution, but I
    found the following which might help you:
    1.
    http://flashtexteditor.com/flexdemo/full/
    2.
    http://drumbeatinsight.com/examples/htmlcomponent/editor/HTMLWithRTE.html
    L.L.

  • Why can't I cut or paste in my wiki rich text editor

    the browswer does a lovely job of viewing my pbworks classroom page but i cannot type, cut, or paste in PBWorks' rich text editor mode so i can't edit from my phone and i suspect i will find the same problem when we switch to ipads next fall. any help?

    This problem should be at least partly fixed in Firefox 5, which will be released later this month. If you'd like to help us test the fix now, you can download Firefox Beta from the Android Market:
    https://market.android.com/details?id=org.mozilla.firefox_beta

  • Using the Document Manager Rich Text Editor

    I'm wondering whether there is a reasonable way we can use the Rich Text Editor (based on CKEditor) that is contained within the Document Manager task flow (primarily for editing Wiki pages) outside of the Document Manager itself? We have another type of content we need a Rich Text Editor for, but it would be great if we could use the inline image links, tables, links to documents in the content repository, etc.

    Have you consider use Site Studio + Content Presenter?
    http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10149/content_cp.htm
    http://george.maggessy.com/2012/05/inline-editing-in-content-presenter-for_10.html
    []'s

  • Portal Rich Text Editor in Firefox 3.5 Not Working

    I'm using Oracle Portal Version: 10.1.4.0.0 (Build: 594)
    The text item Rich Text editor works fine in IE 6 and has reduced functionality in Firefox 3.0 (scroll doesn't work). I've just updated to Firefox 3.5 and the text editor doesn't work at all now.
    The user is presented with a grey box where all the text controls are squashed into the top left hand corner.
    The following errors appear in the Error Console :
    Error: element.children.tags is not a function
    Source File: http://xyz.example.net:7778/images/webword/WebWordMenuToolbar.js
    Line: 1
    Error: attachEvt is not defined
    Source File: http://xyz.example.net:7778/images/webword/buildUI1.js
    Line: 76
    (I've replaced our server url with http://xyz.example.net)
    Has anyone else noticed this? Has anyone got any suggestions on what I can do to investigate/fix it?
    Thanks,
    Matt
    Update :
    There is a patch available to potentially fix the Rich Text Editor issues in Firefox
    "The Rich Text Editor Does Not Work Correctly In FireFox" - Metalink Doc ID: 456512.1
    or you can replace the RTE completely with a 3rd party editor :
    "How to integrate third party RTE (FCKeditor) with Oracle Portal" - Metalink Doc ID: 352796.1
    Using FCKEditor may well solve the issues but I only use Firefox for development. Our users use IE6 so I don't want to replace the interface unless I have to.
    Edited by: Matt Hawkins on Jul 15, 2009 1:58 PM

    This is a known issue in both Portal 10.1.4.x and Portal 11.x :
    Bug 8708210 (11) NOT ABLE TO RENDER RICH TEXT EDITOR WITH FIREFOX 3.5 BROWSER
    This bug is not published on Metalink.
    There is no solution yet. Consider to use IE Tab (https://addons.mozilla.org/en-US/firefox/addon/1419) for editing file items until this bug is solved.

  • Using rich text editor (RTE) for custom applications

    Our users enter texts on two places:
    1) In Oracle Portal in text-items using the Rich Text Editor.
    2) In text-fields in a custom application using html-tags <textarea>blabla</textarea>. For formatting the users currently have to type in html-tags themselves. Now we want to provide them an html-editor.
    We would prefer to use the Rich Text Editor also for the custom application. However, that is integrated in Portal and the java-scripts are not easy to follow.
    Have you tried something similar? So, did you use the Rich Text Editor for your own application? If yes, how?
    If not, a very good alternative would be the qwebeditor (see http://www.qwebeditor.com). Did anybody replace the standard Portal rich text editor with the qwebeditor? In the Portal guides there are instructions about replacing the Portal rich text editor by another editor, but it is not clear if this will also work with the qwebeditor.
    Thanks for your respons !
    Best regards, Jan Willem Vermeer

    Hi Jan,
    I have configured FCKeditor in a few clients, and the process it's pretty straight forward, you can use the steps in the document (http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_1014_features.pdf) .
    Basically you download FCKeditor and put it in your apache server (you can put it unde rthe htdocs folder) after that, all you need to do is modify $ORACLE_HOME/portal/images/webword/buildUIHTML.html to reference the FCKeditor JS and CSS, and you can do the same type of reference for your custom apps.
    Regards,
    Juan

  • Need to have a Rich Text Editor

    I require to use a Rich Text Editor where in I can copy both text and attachments (word/excel/pdf) from an email (Outlook or Lotus Notes) and have that stored into an Oracle table.
    The text that is copied must go into a CLOB column in the database whereas the attachments should be stored as a BLOB.
    My preference is copying the complete data (text and attachments) in one go but if that is not possible then copying the text and attachments separately would do.
    Also there is no limit on the number of attachments that might be there.
    Any solution using Java / Oracle would be greatly appreciated.

    Hi,
    We are trying to connect to Lotus Notes mailbox using JavaMail using the IMAP protocol. We are successfully able to ping our mail server but are not able to connect to the mailbox. We tried the default port option for IMAP (143) but were not able to ping the server as well but with port 25 we are able to ping the mail server.
    Please find below the error we are getting on the console -
    Exception in thread "main" javax.mail.MessagingException: 220 SERVERNAME Hello!;
    nested exception is:
         com.sun.mail.iap.ConnectionException: 220 SERVERNAME Hello!
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
         at javax.mail.Service.connect(Service.java:275)
         at jmail.javamail.main(javamail.java:51)
    Caused by: com.sun.mail.iap.ConnectionException: 220 SERVERNAME Hello!
         at com.sun.mail.imap.protocol.IMAPProtocol.processGreeting(IMAPProtocol.java:201)
         at com.sun.mail.iap.Protocol.<init>(Protocol.java:91)
         at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
         ... 2 more
    Please let us know if we need to perform any additional authentication check needed before connecting to the server.
    Any help is appreciated.

  • Rich Text Editor bug

    Hello,
    My flex website at
    http://www.theplaygrounds.co.uk/The_Playground.swf
    throws the below error when I click on Contact or B/I/U on the Rich
    Text Editor.
    ReferenceError: Error #1069: Property string not found on
    mx.controls.RichTextEditor and there is no default value.
    at
    mx.validators::Validator/mx.validators:Validator::getValueFromSource()
    at mx.validators::Validator/validate()
    at mx.validators::Validator/::triggerHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    at mx.controls::RichTextEditor/__textArea_valueCommit()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    at mx.controls::TextArea/set text()
    at
    mx.controls::RichTextEditor/mx.controls:RichTextEditor::commitProperties()
    at mx.core::UIComponent/validateProperties()
    at mx.managers::LayoutManager/::validateProperties()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()
    What is actually the bug here?
    Also, on the contact page, I need to be able to scroll down
    for the submit button. How could I implement this? I've tried
    everything.
    Thanks

    Hi,
    I have this code for validation:
    <mx:StringValidator
    id="nameValidator"
    source="{userName}"
    property="string"
    minLength="2"
    />
    <mx:StringValidator
    id="nameValidator1"
    source="{userComment}"
    property="string"
    minLength="2"
    />
    <mx:StringValidator
    id="nameValidator2"
    source="{userEmail}"
    property="string"
    minLength="2"
    />
    This acts on the contact form's forms, as these are the only
    textboxes in the web app.♠
    The contact form code:
    </mx:Canvas>
    <mx:Canvas label="Contact" width="100%" height="100%"
    verticalScrollPolicy="off" backgroundAlpha="0.7">
    <mx:Panel
    title="Feedback"
    left="10" top="10" right="10" bottom="10"
    layout="absolute"
    verticalScrollPolicy="on">
    <mx:Script>
    <![CDATA[
    import flash.events.MouseEvent;
    import mx.controls.Alert;
    private const NL:String = "\r";
    private function submitButtonClickHandler
    (event:MouseEvent):void
    var userDetails:String = "You submitted the following
    details:" + NL + NL;
    userDetails += "Name: " + userName.text + NL;
    userDetails += "Email: " + userEmail.text + NL;
    userDetails += "Hide email? " + (hideEmail.selected ? "Yes"
    : "No") + NL + NL;
    userDetails += "Comment:" + NL + NL + userComment.text;
    Alert.show (userDetails);
    private function emailButtonClickHandler
    (event:MouseEvent):void
    var msg:String = "You can use the navigateToURL() method to
    open a URL"
    msg += " using a call similar to the following:\r\r";
    msg += "navigateToURL (new URLRequest
    ('mailto:[email protected]'));";
    Alert.show (msg);
    ]]>
    </mx:Script>
    <mx:Panel
    title="Leave a comment"
    layout="absolute"
    width="523" height="573" x="10" y="10"
    backgroundColor="#E9ECE7" verticalScrollPolicy="on">
    <mx:Label text="Name:" x="10" y="12"/>
    <mx:TextInput id="userName" y="10" right="10"
    left="90"/>
    <mx:Label text="Email:" x="10" y="43"/>
    <mx:TextInput id="userEmail" y="41" right="10"
    left="90"/>
    <mx:Label text="Comment:" x="10" y="99"/>
    <mx:CheckBox
    id="hideEmail"
    y="76" left="90"
    label="Hide my email address"
    selected="true"
    />
    <mx:RichTextEditor x="90" y="126" title="Leave a comment"
    id="userComment" text="Leave A Comment" enabled="true"
    verticalScrollPolicy="auto">
    </mx:RichTextEditor>
    <mx:ControlBar x="120" y="258"
    horizontalAlign="center">
    </mx:ControlBar>
    <mx:Button
    id="submitButton" label="Submit"
    click="submitButtonClickHandler(event);"
    x="355" y="79" fontSize="10" fontWeight="bold"
    mouseDownEffect="{shrink}" mouseUpEffect="{revert}"
    fillAlphas="[0.0, 0.0, 0.0, 0.0]">
    </mx:Button>
    </mx:Panel>
    <mx:Script>
    <![CDATA[
    import flash.events.MouseEvent;
    import mx.controls.Alert;
    private function submitButtonClickHandler1
    (event:MouseEvent):void
    var userDetails:String = "You submitted the following
    details:" + NL + NL;
    userDetails += "Name: " + userName.text + NL;
    userDetails += "Email: " + userEmail.text + NL;
    userDetails += "Hide email? " + (hideEmail.selected ? "Yes"
    : "No") + NL + NL;
    userDetails += "Comment:" + NL + NL + userComment.text;
    Alert.show (userDetails);
    ]]>
    </mx:Script>
    Apologies if this is a basic bug, as I am new to the Flex
    platform.
    Thanks for your help♠♠

Maybe you are looking for