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.

Similar Messages

  • JHS setting for the Display Type of Rich Text Editor

    In the "Display Type" settings for an item, there is no option in the JHS Definition Editor to choose a "Rich Text Editor" type. Is that intentional or an oversight?
    Thanks,
    Gary

    Gary,
    don't know why it's left out, but you can implement a rich text editor with a custom template (that's the answer I got when I asked the question several months ago). Here's the template code I use for implementing a rich text editor in a table:
    #macro (EDITOR_POPUP)
    <af:popup id="${JHS.current.item.bindingName}Popup" contentDelivery="lazyUncached" eventContext="launcher">
    <af:dialog modal="true" resize="on" title="#TEXT_EDITOR_TITLE()" id="${JHS.current.item.bindingName}Dialog">
    <af:richTextEditor rows="10" columns="100" #ITEM_VALUE_IN_FORM()
    simple="true" id="${JHS.current.item.bindingName}EditorText"/>
    </af:dialog>
    </af:popup>
    #end
    #set ($popupId = ${JHS.page.addPopup("${JHS.current.item.bindingName}Popup","${JHS.engine.fullNamingContainerPath}","#EDITOR_POPUP()")})
    #set ($popupDialogId = ${popupId.replaceAll("Popup","Dialog")})
    <af:panelLabelAndMessage #ITEM_RENDERED_IN_TABLE() #ITEM_PARTIAL_TRIGGERS() #ITEM_HINT()>
    <af:richTextEditor #ITEM_ID_IN_TABLE() #ITEM_VALUE_IN_TABLE() #ITEM_PROMPT_IN_TABLE()
    #ITEM_REQUIRED_IN_TABLE() #ITEM_ROWS() #ITEM_COLUMNS()
    #ITEM_READ_ONLY_IN_TABLE() #ITEM_ADDITIONAL_PROPERTIES()
    #ITEM_DISABLED_IN_TABLE() #DEPENDS_ON_ITEM_PROPS_TABLE()
    simple="true" partialTriggers="${JHS.current.item.bindingName}EditorLink ${popupDialogId}">
    #REGULAR_EXPRESSION_VALIDATOR()
    #VALIDATOR_BINDING_IN_TABLE()
    #NUMBER_CONVERTER()
    </af:richTextEditor>
    <af:commandLink id="${JHS.current.item.bindingName}EditorLink"
    #JHS_PROP("rendered" $JHS.current.item.renderEditorLinkInTable)
    immediate="true" partialSubmit="true">
    <af:showPopupBehavior popupId="${popupId}"/>
    <af:image source="/jheadstart/images/editor.gif" id="${JHS.current.item.bindingName}Icon"
    clientComponent="true"/>
    </af:commandLink>
    </af:panelLabelAndMessage>
    #ITEMS_DISPLAYED_AT_RIGHT_IN_TABLE()

  • How to enable copy , cut for Rich Text editors

    I have a rich-text with cut , copy options but when i try to cut or copy it gives me the following error -
    Your browser's security settings don't permit the editor to execute cut operations.
    Please use the keyboard shortcut (Ctrl/Cmd+X).
    I have tried editing the user.js and almost all the solutions given related to it here but still it doesn't seem to work.
    Please Please Please give me some solution for this.

    Are you not able to use the text editer to access anything displayed with Firefox, for instance this forum, or is it only specific file locations that are affected.
    What is the software you are using, and have you tried any other alternatives.
    And can you give a very simple example of something you try to do and can not.
    See also
    * This article seems likely to be highly relevant http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
    ** https://addons.mozilla.org/firefox/addon/allowclipboard-helper/
    * Aimed more at developers themselves https://developer.mozilla.org/en-US/docs/Using_the_Clipboard
    * If it is particular domains or file locations, and is a change since Firefox 29 then this article may be applicable https://developer.mozilla.org/en-US/Firefox/Releases/29/Site_Compatibility#Security

  • 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

  • Using rich text editor in new asset type input form

    Hey everyone,
    I'm currently trying to create assets based on a newly created asset type (which I of course, created). However, the STORAGE property I declared in the asset definition file is to support formatted text, which would normally be pasted from word documents. Note that I'm using the Basic Asset Model.
    Thus, I need a rich-text editor to be used in the content input form. So, after looking at the tags reference in the developer's documentation, I thought that I could use EWEBEDITPRO to achieve my goal but there's always an error mentionning that the component can't be launched. I supposedly have to configure two parameters, one of them being the path for ewebeditpro.js. I looked for that but haven't found it. On the other hand, I looked at the Oracle WebCenter Sites Property File document and that one stated that EWEBEDITPRO is deprecated and not supported (?!?!).
    So in short, what can I use, as a rich-text/html editor?? Thanks in advance for any reply!
    Edited by: DigitalSelf on May 24, 2012 2:26 PM

    Thanks. From what I've read in the developer's guide, CKEditor was available with assets built from the Flex model. However, I'm currently having a hard time trying to display the content of an attribute with content input through the CKEditor, because it's stored in a blob. Although I've found several examples showing how to read the content of a blob, none of them worked for me...

  • Rich Text Editor Option for Custom Metadata

    Hi,
    We have created custom profiles for our clients. In one such profile which was created for news updates, client wants to have rich text editor in case of certain custom metadata fields such as description similar to comments.
    As far i as i understand this can be achieved by creating region defintion which gives the option to create a web asset which can edited using site studio api. But is it possible to bring in rich text editor features for custom metadata fields in profiles ?
    Regards,
    Boopathy P

    I'd suggest looking into the profile rule's "Use custom include" option.
    You need to build the new control on your own, but you'll be able to plug it in via the "Use custom include" profile rule option. It's on the "Edit Rule Field" page.
    You can also override the template, but I believe that's a lil' too hardcoded for best practices. This way, you can create a ckeditor textarea and apply it to any metadata you wish (of course, it's up to you to make sure the datatypes match).
    Let us know if this helps!
    -ryan

  • Rich Text Editor for Content Editor WPs (MOSS 2007) disappears using Office 2013/Win7/IE 11

    We've upgraded our computers to Win7/IE 11 but now when I try to edit our MOSS 2007 Content Editor Web Parts, the option to choose either the Rich Text Editor or Source Editor is gone, and all I get is a tiny HTML window. What do I need to do to get back
    the Rich Text edit option?

    Glad that it worked. One thing you need to be aware of Compatibility View is that it adds the entire domain to the View not just the URL. So if your website is
    http://sample.mycompany.com it adds entire mycompany.com to the list.
    This implies if you have another site in the same domain http://onemoresite.mycompany.com , then Compatibility View is applicable even for that site. This might cause issues if your other 'breaks' when
    rendered in Compatibility Mode.

  • Rich Text Editor functionality for a DIV tag in a publishing page in SharePoint online

    Hi,
    We are having a requirement where we need RTE behavior of SharePoint 2013 Rich Html Field for a custom DIV. The scenario goes like this:
    1. I have a publishing page
    2. I dropped the content editor web part and to that content editor web part I will point to an HTML file that needs to be rendered in that content editor web part
    3. I have one DIV in the above mentioned HTML files and I want that div to be editable and I need to RTE options for that DIV.
    How to accomplish the above behavior?

    Hi,
    According to your post, my understanding is that you wanted to create html rich text editor for a DIV tag in a publishing page in SharePoint online.
    You can create your own Rich Text Editor.
    Here are some great blogs for your reference:
    An Example to Use HTML Rich Text Editor
    Example: Using the Editor's instance
    Rich Text Editor control in SharePoint 2010
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Character Counter for a Rich Text Editor

    Version  4.1.1.00.23
    Hello,
    I'm hoping that someone has a solution for a character counter/validation to use on the Rich Text Editor.
    Thanks,
    Joe

    Hi,
    Happy New Year.
    Ok.
    Well, I'm not expert on this, but this peace of code might help you get started.
    Code should go to page JavaScript -> Execute when Page Loads
    var lEditor=CKEDITOR.instances.Px_YOUR_EDITOR;
    lEditor.on('contentDom', function() {
    lEditor.document.on('keyup', function(e) {
    var len=lEditor.getData().replace(/<[^>]*>|\s/g, '').length;
      /* do here something. JavaScript valiable "len" holds editor text length e.g. */
    /* alert(len); */
    Replace Px_YOUR_EDITOR with your editor name.
    I do not have any idea does it work on all browser. I did test with Firefox.
    Regards,
    Jari

  • Is Content stored in the Rich Text Editor saved to the Database?

    Is Content stored in the Rich Text Editor saved to the Database? We are planning a migration from our Dev environment to our QA/Staging environment and would like to migrate our existing content. We were told that content stored in the Rich Text Editor is stored somewhere in the Plumtree database. Is this true? If so, where in the DB (table/field) is it stored?

    Some of the content from Publisher is stored in the file system.
    Look under: plumtree\ptcs\publishedcontent
    there you'll find your preview and published content.

  • I use Juno for my email. How do I turn on the Rich Text Editor and how do I forward messages inline rather than having everything go as an attachment?

    Using Juno I find no way to turn on the Rich Text Editor. How do I turn it on?
    When I forward a message in Juno, everything goes as an attachment. How do I get messages to go inline?

    Another thing to remember is the phone is actually usable for 911 calls and maybe others. Not a real good idea. Especially for a child.
    It would depend however on the age of the child.
    Good Luck

  • 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

  • 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.

  • 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.

  • 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

Maybe you are looking for