Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-22113

Support configuring CKEditor via JSON file

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: OPEN
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      I know we'd discussed this but I couldn't find an actual Jira.

      This was the idea: Some properties in ckeditor.launch.js have to be manually changed in order to make effect. Specifically those that involve adding and removing plugins. It would be nice if we had a way to
      1) allow someone to put a .json file in ${sakai.home}
      2) Add a property to reference this json file
      3) Read this Json file
      4) Dump out the data so that ckeditor.launch.js can use it (on the portal?)

      Then the launch would use it to configure the behavior?

      Minimally a format discussed could be something like:

      ckeditor.plugins : {
      //Plugin name to load
      "movieplayer" :
      {
      //Plugin name to insert in menu
      "menuName": "Movie",
      //Plugin to insert after in menu(s)
      "insertAfter": "JustifyBlock"
      //Any extra config options to insert that it might need to load
      "extraConfig": {},
      //Optional path to where the plugin is located, perhaps we could have the plugin in some other directory completely, like in the other tool
      "externalPath" : ""
      },
      }

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration