jariolaine / apex-blog

Blog application built using Oracle Application Express (APEX)
MIT License
24 stars 8 forks source link

Enhancement - CKEditor5 #6

Closed scl-4711 closed 1 year ago

scl-4711 commented 1 year ago

Hi Jari, first of all, Merry Christmas and a Happy New Year 2023.

I have an enhancement request:

Could you please integrate the folllowing javascript snippet in the "JavaScript code for item initialization", f.e. P12_BODY_HTML in APP 401.

function ( options ) {
  // link - activate "Open in a new tab" switch
  options.editorOptions.link = {
    decorators: {
      openInNewTab: {
        mode: "manual",
        label: "Open in a new tab",
        attributes: {
          target: "_blank",
          rel: "noopener noreferrer"
        }
      }
    }
  };
  return options ;
}

Thank you in advance.

By the way - there are many other features for CKEditor5

jariolaine commented 1 year ago

Implemented to branch APEX_22.2 and will be available on next release.