[CKEditor.Reactive] Image upload tab disappear upon second attempt
Forge component by Fábio Fantato
Application Type
Reactive

First time clicking on image icon in ckeditor, the following image popup

After saving it to the database, sometimes the upload tab will disappear.

"toolbarGroups : [
        { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'paragraph', groups: [ 'indent', 'blocks', 'align', 'list', 'bidi', 'paragraph' ] },
        { name: 'forms', groups: [ 'forms' ] },
        { name: 'links', groups: [ 'links' ] },
        { name: 'insert', groups: [ 'insert' ] },
        { name: 'editing', groups: [ 'find', 'selection', 'editing', 'colors' ] },
        { name: 'styles', groups: [ 'styles' ] },
        { name: 'tools', groups: [ 'tools' ] },
        { name: 'others', groups: [ 'others' ] },
        { name: 'about', groups: [ 'about' ] }
],
extraPlugins: 'wordcount',
removeButtons : 'Source,Save,NewPage,Print,Preview,Templates,Cut,Copy,Paste,PasteFromWord,PasteText,Redo,Undo,Replace,SelectAll,Form,Checkbox,Radio,TextField,Textarea,Select,Button,HiddenField,Subscript,Superscript,Strike,CopyFormatting,RemoveFormat,Blockquote,CreateDiv,BidiLtr,BidiRtl,Language,Anchor,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,Styles,Format,Font,FontSize,ShowBlocks,About',
removePlugins: 'elementspath',
wordcount: {
    showParagraphs: false,
    showWordCount: false,
    showCharCount: true,
    countSpacesAsChars: false,
    countHTML: true,
    maxWordCount: 10000,
    maxCharCount: 10000
}"

Hi Shu Yi,

Are you trying to save and refresh in the same screen or does that happen when you go to another screen and come back again later?

I wasn't able to replicate this issue so can you please provide me and oml file to be able to analyse and understand what and I doing different from you?

Thanks in advance,

João Capucha

Hi @João Rafael Capucha ,


Please see the attached oml file. When directed to "Edit" screen, the Upload tab will be removed.



Sample.oap

Hi @Shu Yi 

As I mentioned in this other post:
https://www.outsystems.com/forums/discussion/67173/invalid-call-of-the-triggerckeditorready-client-action

Version 1.0.6 solves the issue that prints "Invalid call of the 'TriggerCkeditorReady' client action" in the console. Unfortunately, it breaks the Image upload feature.

For me, I reverted to version 1.0.5.
If you want to use a newer version of the component, I suggest you try reverting only the change introduced in 1.0.6: simply remove the OnDestroy action of the CKEditor web block. Note that this will cause the console error referred to in the other thread (I haven't noticed any other impacts, though).

I hope this helps.

Diogo Carvalho


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.