Dynamic Action in CKE Editor / rich text

Dear fellow developers,
I created some dynamic actions in Apex 4.1.1, which allow me to create function keys in my application.
For example on "key-down F10" a modal dialog opens or upon hitting "F11" the user is redirected.
While this works as long as my Selection Type is DOM object "document", the actions are not fired once I enter the rich text editor (CKE) and it has received focus.
Have you got an idea how to solve this problem?
Creating an identical dynamic action and setting the Selection Type to jQuery Selector #cke_2 is to no avail.
Many thanks,
Sebastian

No one having a hint?
It is obviously due to the fact that the ckeditor is embedded in an iframe, which I don't have a selector for.
I was able to add an id "#ckeditor" to the body of the iframe content but the usage of it fails.
Maybe some code will illustrate it a little better:
<span id="cke_P8_STR_BEARBEITUNG" class="cke_skin_kama cke_2 cke_editor_P8_STR_BEARBEITUNG" lang="de" style="width: 748px;" aria-labelledby="cke_P8_STR_BEARBEITUNG_arialbl" role="application" title=" " dir="ltr">
<span id="cke_P8_STR_BEARBEITUNG_arialbl" class="cke_voice_label">WYSIWYG-Editor</span>
<span class="cke_browser_gecko" role="presentation">
<span class="cke_wrapper cke_ltr" role="presentation">
<table class="cke_editor" cellspacing="0" cellpadding="0" border="0" role="presentation">
<tbody>
<tr role="presentation" style="-moz-user-select: none;">
<tr role="presentation">
<td id="cke_contents_P8_STR_BEARBEITUNG" class="cke_contents" role="presentation" style="height:100px">
<iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="WYSIWYG-Editor, P8_STR_BEARBEITUNG, drücken Sie ALT 0 für Hilfe." style="width:100%;height:100%">
<html lang="de" dir="ltr">
<head>
<body id="ckeditor" class="ckeditor cke_show_borders" contenteditable="true" spellcheck="true">
</html>
</iframe>
</td>
</tr>
<tr role="presentation" style="-moz-user-select: none;">
</tbody>
</table>
</span>Edited by: skahlert on 13.04.2012 10:53

Similar Messages

  • Using &Item. syntax in Rich Text (ck editor)

    Morning Forum
    We are trying to use the &ITEM. syntax in Apex 4.1.1 CKE Editor/Rich Text Editor. The editor however converts the & to &amp; ....
    Does anyone have any experience in something something similar and how it can be resolved ?
    Thanks
    Pierre

    Are you saying you have a Source Value or a Default Value to an Editor, and that doesn't convert &PXXX_TEXT. when you load the page?
    I made something similar and had it working. Can you please elaborate?
    Tks,
    Kleber

  • Cannot hide Rich Editor item onload via Dynamic Actions

    Hi,
    I have textarea and rich editor items that I have to show/hide vice versa based on select list item value.
    I have created Dynamic Actions to Show/Hide items on 'Cnange' event when value of select list: P23_FORMAT equals 1
    True Actions:
    Show P23_TEXT
    Hide P23_TEXT_RICH
    False Actions:
    Hide P23_TEXT
    Show P23_TEXT_RICH
    All actions have the value of attribute 'Fire On Page Load' set to 'Yes'.
    The select list value has computation 'before header' which set P23_FORMAT = 1. So it should display P23_TEXT textarea and Hide P23_TEXT_RICH on page load. But both items are displayed though the label of P23_TEXT_RICH item is hidden.
    If I change computation to P23_FORMAT = 2 then all work as expected: P23_TEXT is hidden and P23_TEXT_RICH item is displayed correctly.
    What's wrong with my settings? I need display the textarea by default on the first page load.
    Thanks.

    Hi,
    look like a bug for Rich Editor item. All works fine when I avoid using this item type in DA.

  • Flex 3.5 Rich Text Editor Bold Button is Selected by default?

    Hi and thanks in advance,
    I'm creating dynamic forms via action script in flex builder with SDK 3.5.
    One part of this form is a rich text editor, it creates and works just fine, but I have one little annoying issue the bold button is defaulted to on (selected)
    The funny think is, if I lose focus on the text area of the RTE and de-select the bold button, as soon as I set focus to the text area again the bold button is toggled back on. This leads me to think that the text area which is empty is some how bold.
    if I show an alert Alert.show( String( _rte.boldButton.selected ) ) after the RTE as been added to the form is shows false.
    Even if I set  _rte.boldButton.selected = false just to be sure it still displays the bold button as selected.
    Its a basic RTE the only thing I'm doing is adding a validator if its required and removing the link bar
    _rte.toolbar.removeChild(_rte.linkTextInput);
    Any ideas are very much appreciated
    flash harry...

    Hi and thanks in advance,
    I'm creating dynamic forms via action script in flex builder with SDK 3.5.
    One part of this form is a rich text editor, it creates and works just fine, but I have one little annoying issue the bold button is defaulted to on (selected)
    The funny think is, if I lose focus on the text area of the RTE and de-select the bold button, as soon as I set focus to the text area again the bold button is toggled back on. This leads me to think that the text area which is empty is some how bold.
    if I show an alert Alert.show( String( _rte.boldButton.selected ) ) after the RTE as been added to the form is shows false.
    Even if I set  _rte.boldButton.selected = false just to be sure it still displays the bold button as selected.
    Its a basic RTE the only thing I'm doing is adding a validator if its required and removing the link bar
    _rte.toolbar.removeChild(_rte.linkTextInput);
    Any ideas are very much appreciated
    flash harry...

  • 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 a rich text editor to style a Flash text field

    I've been trying to build a user interface that would allow someone to change the content of a dynamic field (loaded from a text file) using a rich text editor. However the editor inserts inline css style tags like <span style="text-decoration: underline;"> which Flash aparently can't understand. If the editor were instead to insert the following: <span class="ul"> where the stylesheet defined it as:
    .ul {
    text-decoration: underline;
    display: inline;
    then everything would be fine. But it doesn't and I can't change it.
    I am currently using a rich text editor that I access as follows:
    var myEditor1 = new YAHOO.widget.SimpleEditor('editText', {
        height: '600px',
        width: '700px',
        dompath: true, //Turns on the bar at the bottom
        handleSubmit: true
    The editor above is "applied" to a textarea within an html form. Then the text is saved to a text field with the embeded styles.
    Any ideas on how I handle this so the user doesn't have to insert css rules by hand?
    thanks much

    Does anyone know of a richtext editor that uses just html tags (not css like <span style="text-decoration: underline;">) or that uses css styling that Flash as3 can understand?

  • Adding custom buttons to the Rich Text Editor in CQ

    Hi,
    I have added custom buttons to the rich text editor in order to allow our editors to add specific content, such as popovers, custom videos and other data necessary data.
    I have successfully modifed the Rich Text editor so, that it includes the custom buttons in the actions panel.
    I have also managed to make the buttons work and include the data where necessary, when user highlights the text and clicks on a certain button.
    The last bit I am struggling with, is the visual feedback we give to the users when this text has associated action with it.
    E.g. when we select this text and make it bold when we click on the word B the button B becomes highlighted in the actions panel, later when we continue typing our text and click again on "bold" the letter B becomes highlighted again.
    Is there any button related callback/method I could overwrite to add this functionality and make my button highlighted ?
    Thanks,
    Puzanovs

    After lot's of thinking found a solution....
    Essentially the first step is to extend the CQ.form.rte.plugins.Plugin in your custom button.
    Then during the UI initialisation we create our "custom"
    var pressButton = new ui.TbElement("press-button", this, true,this.getTooltip("press-button")); // Essential extend of the button
    setInterval(function() {
                     if(window.jQuery) {
                         window.jQuery(document).ready(function () {
                             window.jQuery(".x-edit-glossary-insert").css({width:45,"background-image":"none"}); // Ignore the background
                             window.jQuery(".x-edit-glossary-insert").text("Press Button"); // Set the name
                            $(document).on({
                                mouseenter: function(){
                                  window.jQuery(".x-edit-glossary-insert").html("<b>Press Button</b>"); // Set the name bold                        
                                mouseleave: function(){                       
                               window.jQuery(".x-edit-glossary-insert").html("Press Button"); // Set the name normal
                             }}, '.press-button');
                 }, 100);
    tbGenerator.addElement("press-button", plg.Plugin.SORT_LISTS, pressButton, 10); // element is inserted
    Every time the element is inserted I add the following html
    <span class="press-button">Test peter</span>
    Now, every time in the editor, the content editor mouse overs the custom button it is higlighted in the RTE))

  • How to extend Rich Text Editor in Portal 10.1.4

    Is there a note that explains how to extend the InsertImage feature of the rich text editor in portal 10.1.4.
    It was very straightforward in 10.1.2, but the RTE has changed with 10.1.4 and I didn't find an updated version of the following technical note: http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_10gr2_features.pdf
    Than'ks

    Hi Raphael,
    In fact my goal is to extend WebWord Editor and not replacing it. For example I want to add a new Image Picker in WebWord, what I had done in 10.1.2, allowing a user to select an image file from a Portal Page. It was as simple as replacing an url reference in BuildUIEmbed.html (by default pointing to a static image picker page).
    It seems not so simple in WebWord, as the URL of the image picker in BuildUIEmbed.html is replaced by a "RAW HTML static source" in the javascript "popup.js" (see InsertImage() function)
    I'd like to replace this raw HTML by an url pointing to a dynamic page browsing my images. I allready have done this dynamic page but I'm not a javascript expert. If you have any ideas ...
    Than'ks anyway.

  • WYSIWYG online Rich text editor

    Hi
    Apologies if this has been asked before, (I'm new to jsp.). I'm looking for a rich text editor for a JSP website like freetextbox for asp.net.
    I'm sure there are loads out there for jsp or something we can integrate, could anyone point me in the direction of something they've used, heard of or just know about. Any details on how good they might be would be helpful

    You can use any existing rich text editor. Those kind of editors are usually entirely clientside (HTML/CSS/JS) and doesn't have any dependency on JSP nor ASP. The only point where JSP/Servlet comes into action is when the user submits the form with the text to the server.

  • 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

  • Dynamic action on text box change does not working

    i have a page with following components.
    a report that has and edit link.
    a text box to catch the primary key from report link when it is clicked
    a number of elements (text boxes, check boxes and LOVs) which are used as data entry form.
    Now my design is that user enter values save them and no sooner did they save, the report depicts new
    values. if user want to edit any record, they click on edit link and the data entry form elements
    should now bring all those values from DB on page. i m successful to pick primary key and bring
    it in a hidden text box and wrote a dynamic action on its change event that will bring values from
    DB and set all page elements. but but but.........the change event doesnt work. it only work
    when focus is lost from the text box...!! offcourse user wont want to click in that "hiddent" text
    box and then click some where else to bring values in page data entry form......
    help is humbly requested from forum or if any other solution approach is to be used easier than
    one i m using, would be appreciated.
    thanks in advance for reading my bore question :)

    bundles of thanks for reply. i m going to elaborate.
    1. My page no is 3.
    2. Hidden Item name is P3_EDIT_ACTIVITY_ID
    3. Data entry form, hidden item and the report are on the same page.
    4. on the edit link of report, i have used following settings.
        Target: Page in this application
         Page: 3
         and i set hidden item as follows......
         Item 1   P3_EDIT_ACTIVITY_ID         Value #ACTIVITY_ID#
       well, when i click the link on report it does bring Activity_Id in the hidden box (which is not yet hidden for debugging purpose)
    Next i wrote Dynamic action which fires on the change event of P3_EDIT_ACTIVITY_ID and run PL/SQL code with in it which is as follows
      declare
      Dept varchar(50);
    begin
       select my_dept into Dept from activity_main ACTIVITY_ID = :P3_EDIT_ACTIVITY_ID;
       :P3_Dept := :Dept;          (i did use :P3_Dept := Dept also but this wont work)
      insert into testdynamic (stamp) values (Dept);  (I did this to check whether correct value is brought from DB, yes it works correctly, correct Dept is being inserted in stamp column)
    end;
      i have created another true action to check when the dynamic action is fired. its very simple alert. and the problem is, it only fires when focus is lost from the P3_EDIT_ACTIVITY_ID. i mean, when u keep changing value inside the text box, nothing happens, when u go outside, the alert is fired and so the pl/sql procedure. but the line
        :P3_Dept := :Dept;       OR      :P3_Dept  := Dept;         arent working which is the actual requirement.
      I m not using set value here as i have to set a lot of values on page not one. further. plz let me get rid of this lost focus thing as i want the form to be populated with correct values related to P3_EDIT_ACTIVITY_ID as the user click on any edit_link in the report.
    Thanks for persistence. i hope i have provided all the details.
    looking forward.

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

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

  • 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

Maybe you are looking for

  • Error in Communicating with DCA Server

    Hi, I have Cisco LMS 2.6 and next modules: 1.  CiscoWorks Common Services 3.0.6 2.  Campus Manager 4.0.13 3.  CiscoView 6.1.5 4.  Device Fault Manager 2.0.13 5.  Internetwork Performance Monitor 2.6.0 6.  Integration Utility 1.6.0 7.  Resource Manage

  • Numbers Files (3.2) Files Reformatted to .iwa format. Is there a way to recover?

    I have a small handful of Numbers files that I recently worked in, saved, and closed correctly (as far as I know) but upon trying to access them again, they are now in a format I'm not able to re-open. The new format is, basically, a file folder with

  • Multi monitor cursor swapping

    I've got three monitors lined up and I'm looking for a way to instantly center the cursor on a specific display to avoid dragging it everywhere. I know there's a software called Multi Monitor Mouse for Windows which is supposed to handle that pretty

  • Upgraded to windows 8 and cannot use Acrobat Pro 9

    When I enter the program I get an error message'..licensing for this product has stop working???

  • Drive overwrite checkbox appears to have disappeared after firmware update

    Hi, I replaced a faulty drive in my Iomega StorCenter 200d. Now I get a message saying Drive 1 overwrite required, but it seems there is no where I can force I can give permission for this happen. In the end the only solution Lenovo support could off