Sign in
Log inSign up
Louis Moreaux

7 likes

·

3.5K reads

14 comments

Cezar Rosaneli
Cezar Rosaneli
Feb 23, 2024

Hi Louis, How can I configure the editor to get a sticky toolbar? The docs say I should configure toolbar_sticky: true but i cannot figure out how to put it on the Apex initialization javascript. Tks for your help.

2
·
·1 reply
Louis Moreaux
Louis Moreaux
Author
·Mar 1, 2024

Hi Cezar Rosaneli, you can use this to enable the sticky toolbar:

function(options){
    options.editorOptions.toolbar_sticky = true;
    options.editorOptions.toolbar_sticky_offset = 100;
    return options;
};

You will have to find the correct offset for your page

·
Mohamed A.Helal
Mohamed A.Helal
May 13, 2023

Just a tiny observation / question. plugins+= bit is fine but I could only get the toolbar to work when I referenced the toolbar array by index and append my plugin ... e.g. options.editorOptions.toolbar[4].items.push("image"); += syntax replaced the contents of the toolbar with just the new button

1
·
·2 replies
Louis Moreaux
Louis Moreaux
Author
·May 13, 2023

Hi Mohamed A.Helal, I double checked the code and the documentation and you are right, depending on the type of toolbar it could be an array or a string. I will update the blog post to handle it. Thanks

·
Michael Abele
Michael Abele
Dec 12, 2023

Louis Moreaux

if (Array.isArray(options.editorOptions.toolbar)) {
  options.editorOptions.toolbar[4].items.push("emoticons");
}
else {
  options.editorOptions.toolbar +=" emoticons";
}

:-)

·
Dennys Montero
Dennys Montero
Dec 9, 2023

Hi. How can I put the contains readonly and How Can I print the contains? Cause CKEDITOR it's not working anymore, for example CKeditor.contains. Thanks in advance.

·
·1 reply
Louis Moreaux
Louis Moreaux
Author
·Dec 11, 2023

Hi Dennys Montero, I am not sure to understand what you are trying to achieve. Maybe you could give me a little more details about your problem. Regards, Louis

·
Antonio Luis Gallardo Fernandez
Antonio Luis Gallardo Fernandez
Apr 26, 2024

Hi, Louis. How can i configure custom bottons?

Thanks

·
·3 replies
Louis Moreaux
Louis Moreaux
Author
·Apr 27, 2024

Hi Antonio Luis Gallardo Fernandez, Look at this thread on the Oracle APEX forum you could find useful things forums.oracle.com/ords/apexds/post/tinymce…

·
Antonio Luis Gallardo Fernandez
Antonio Luis Gallardo Fernandez
Apr 29, 2024

Louis Moreaux Hi Louis.

I had already read that article, but it didn't work. However, there was an entry 2 days ago that solves it

Thanks for all.

1
·
Louis Moreaux
Louis Moreaux
Author
·Apr 29, 2024

Yes Antonio Luis Gallardo Fernandez, that's why I mentioned it 😉. I'm happy that it works for you

·
D Edwards
D Edwards
Oct 10, 2024

Is this transferrable to ORTL as TinyMCE is being deprecated in 24.1 patch version 5 (36926831)

·
·1 reply
Louis Moreaux
Louis Moreaux
Author
·Oct 10, 2024

ORTL seems to be a fork of CKEditor so anything that works for that library should work for ORTL

·