Using Rich Text Editor with a Custom Attribute

Hello All,
Can anyone please tell me as how can I use the Rich Text Editor with a Custom Attribute?
I want to create a custom attribute based on text datatype, but when entering the value for this attribute in a Custom Item, portal shows a normal textarea. I want that the user should see the Richt Text Editor.
Thanks for help.
Regards

Hi,
Can you tell me what steps you are using to produce this, and which Portal version you are using. When I tried it, I wasn't able to reproduce it. Here are my steps:
1) Created Custom Item Type, based on Text, under
Page Groups > Shared Objects > Item Types
2) Selected Three attributes (Description, Name, Publish Date). Note Text and Display Name were already selected
3) In Add Item Wizard, configured list to allow for my
custom item type selection.
4) Then I was able to see the Rich Text Editor when editin
my custom item type.
Regards,
J.

Similar Messages

  • 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 third party Rich Text Editors with Portal Release 2 (9.0.2)

    Hi Everyone,
    We would like to use some third party Rich Text editor with portal as the Oracle Rich Text editor is fairly basic and it does not fulfill our business requirements.
    Some of the things we are hoping to accomplish by through this text editor (after customizing) are:
    Ability to select any page within the portal to add as link in the Text Editor.
    Ability to select images from the portal repository.
    Create HTML Tables.
    Support of copy/paste from Microsoft Word.
    I am looking for any suggestions or experiences on how this can be done.
    Thanks in advance..
    Niraj

    Niraj,
    There's a RTE posted on knowledge exchange (with source), in my folder.
    Re: Calendar PJC on French Keyboard
    Hi Everyone,
    We would like to use some third party Rich Text editor with portal as the Oracle Rich Text editor is fairly basic and it does not fulfill our business requirements.
    Some of the things we are hoping to accomplish by through this text editor (after customizing) are:
    Ability to select any page within the portal to add as link in the Text Editor.
    Ability to select images from the portal repository.
    Create HTML Tables.
    Support of copy/paste from Microsoft Word.
    I am looking for any suggestions or experiences on how this can be done.
    Thanks in advance..
    Niraj

  • 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

  • Making Rich Text Editor with PHP in Dreamweaver  - Problem with CKEditor...

    Hi,
    I am developing a website in Dreamweaver and using the platform of PHP and MYSQL. I need to develop a Rich Text Editor just like the one I am typing at the moment. With my recent searches I have come across with CKEditor as one of the possibilities to add a Rich Text Editor to my website. I have seen older versions of CKEditor also known as FCKEditor which I believe unfortunatley is out of date and obsolete now (discontinued). I cannot find any of the downloads now from anywhere on the web.
    I can find FCKEditor tutorials with PHP,  but can not find CKEditor tutorials for PHP (when I try googling it, it always gives me FCKEditor page). Can anyone please help me and tell me if I can still make Rich Text Editor using CKEditor and PHP?
    If yes, please guide me how? Any tutorials or reading material will be very helpful.
    Regards,
    Bilal . Khan

    Yes, you absolutely can use CKEditor to create a rich text editor with PHP/MySQL.I have tried several editors and it's my choice.
    Here is a link to the documentation page:
    http://docs.cksource.com/
    CKFinder is also very good in conjunction with CKEditor. Although it costs $59/per website, it's better than the free alternatives.

  • Using Rich text editor appends br tag at the last to the content.

    Using Rich text editor appends <br> tag at the last to the content. This does not happen in chrome. I am using v31.0 on ubuntu which seems to be the latest.

    What editor are you using? What are you trying to edit?
    What web site?

  • Rich Text Editor with Custom Text Attribute

    Hello All,
    We are using the latest version of Oracle Portal 10G. I have a need to create custom Attributes of the type text to let people enter a lot of text. But when User are in edit mode of an item where this custom attribute is used, the Rich Text Editor is not shown for entering the Text for the Custom Text Attribute. It shows a normal html text area. Has anyone ever used RTE with Custom Attribute?
    I request you guys for help.
    Thanks.

    The Problem with the Custom Attribute is not solved, but I have now compromised with the Situation and now I am not using a Custom attribute.
    Rather, Now I am creating a Custom Item Type using Base Text Type (earlier i wanted to create custom item type at my own without any base item type). In this case now I will not be able to change the Lable of the RTE (that is "Text", when the Custom Item is in Edit Mode), but I hope that my users can understand that much.
    I have created a template for portal pages. In the Template I can edit the Region Properties. When I edit the Region property of the region where I want to display my Custom Items. I get two Tabs on the top, Main and Attributes/Style. ON the main tab I can tell what type of region it should be, width etc, in my case it is item type region. And on the Attributes/Style tab, I can select from the availabe Attributes as which all Attributes I want to display. Here if i select only "Associated Functions" Attribute then normally portal should not render anything by default on the Page. It should rather make a call to the procedure which is associated with the Custom Item and as when I was creating the custom item type, I had clicked on "Display Procedure Results With Item", so portal should now display the result of my Procedure. So far it works without problem.
    But the problem is that the Portal displays the text at its own also. As i have written that Portal should not display anything at its own, this doesn't work in this version of Portal for a Custom Item Type that is made using Base Text Item Type. For all others it has worked till now (I have create 50s of Custom item types).
    You can better understand by going to the following URL. Just have a look between the two dotted lines (Dotted line is also a seperate Custom Item Type). Between the two Dotted Lines is a custom item, in general it would be a Custom News Item having title, image and so on.
    http://sunnode1.edvz.sbg.ac.at:7778/portal/page?_pageid=79,56047&_dad=portal&_schema=PORTAL
    I have really programmed a lot with portal but now at this stage where I am near to end, I am getting problems which are coming from Product. I request you for help.

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

  • Replacing the Rich Text Editor with FCKeditor

    Hi,
    I've seen a few people mention that they've replaced Portals RTE with FCKeditor in the Portal 10.1.2 release. As ever Oracles documentation is scant (that's being generous) as to how to do this. If anyone has, can you give me an example of how you have modified your buildUIembed.html file.
    I've currently got this partially working, the new RTE is displaying, but the page won't submit. Portals JS is trying to .save() the RTE content, a method which it apparently doesn't support!
    Any help would be much appreciated.
    Regards
    Dan

    Hi Dan,
    Per the OracleAS Portal User's Guide (available at http://www.oracle.com/technology/documentation/appserver1012.html)
    Possibility of extending or replacing the seeded rich text editor
    You can customize the OracleAS Portal rich text editor to support your needs: from simple changes, for example, replacement of buttons on the editor's toolbar, to more complex changes, for example, replacement of the seeded editor with one of your own.
    Such changes involve altering the files that comprise the user interface and functions of the seeded rich text editor. This being the case, this feature is intended for advanced OracleAS Portal administrators. Additionally, you should be aware that future upgrades of OracleAS Portal may impact any modifications made to these files. Support for this feature is offered through the Portal Content Area discussion forum and not through Oracle Support;
    You may want to pose this question in that forum.
    Regards,
    Pete

  • Using Rich Text Editor

    Hi
    I had a requirement to show some text at the bottom of my page. i am using messageRichTextEditor for item style with read only property set to true. the output i am getting is fine for my requirement
    but at top of that the "Change to Plain Text Mode" Text is coming which i want to remove is there any profile option to achive this. or is there any other item style which can give me same look( a square shape box and in which some read only text will be present)

    Check this: how to remove 'Change to Text Mode' link on 'richTextEditor' item

  • 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()

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

  • 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

  • Rich text Editor and XSS

    We have started to use rich text editors within our application and there is a nice little feature that will escape script tags on insert into the database:
    i.e the code:
    <script>alert(1);</script>is stored in the database escaped.
    This is great as it guards against Cross Site Scripting as the value is treated as text and not evaluated as script when rendered out of the database.
    If however you edit your escaped text in source mode within the editor and replace this with the original un-escaped text, the DML procedure to get the values into the database do not escape the values. I was wondering if there is a reason why text is escaped of script tags in a rich text editor but not when the RTE is switched to Source Mode.
    If this is a bug, I can raise an SR.
    Regards
    Duncs

    user12601765 wrote:
    I need to allow users to create content...I am using APEX 4.1 and am a non-technical user.Sounds like a use case for Websheets.
    And update your forum profile with a real handle instead of "user12601765".

  • Editing the properties of the Rich text editor in WebCenter Portal

    I have a requirement to modify the properties and also to all a new plugin to the CKeditor (Or the Rich Text Editor) that we have in Webcenter. The rte-taglib.jar has the config.js where the change is required. How can this fiel and use the modified setting as per my reqirement.

    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.

Maybe you are looking for