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

Move all of the 'custom' plugins for CKEditor to an external plugins directory

    XMLWordPrintable

    Details

      Description

      It looks like we can create an external plugins directory according to this guide:

      http://cksource.com/forums/viewtopic.php?t=18876

      And then do something to add all of these external directories like it describes. This would make it so it's still easy to upgrade CKEditor and that the plugins are separate.

      // get path of directory ckeditor
      var basePath = CKEDITOR.basePath;
      basePath = basePath.substr(0, basePath.indexOf("ckeditor/"));
      (function()

      { CKEDITOR.plugins.addExternal('helloworld',basePath+'myplugins/helloworld/', 'plugin.js'); }

      )();

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

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

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration