Project

General

Profile

Support #12490

Loading Plugins in QFQ - see what tinymce does. (lazy loading)

Added by Benjamin Baer 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
04.05.2021
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

  • make tinymce plugin into a standard tinymce plugin
  • see if we can use the loading method for qfq plugins
#1

Updated by Benjamin Baer 5 months ago

https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/src/core/main/ts/api/AddOnManager.ts

It seems to just load all plugins within the folder plugins.

To add tinymce plugin: in grunt uglify, export to 'typo3_js' + 'plugins/pluginname/plugin.min.js'

Example charactercount:

[...]
        uglify: {
            [...]
            qfqTinyMCECharCount: {
                src: ['javascript/src/Plugins/tinymce.charcount.js'],
                dest: typo3_js + 'plugins/charactercount/plugin.min.js'
            },
        },
[...]

Also available in: Atom PDF