Skip to content

Commit

Permalink
MDL-76520 tiny_link: Add a TinyMCE link plugin
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
  • Loading branch information
HuongNV13 and andrewnicols committed Mar 23, 2023
1 parent 794f107 commit 359efec
Show file tree
Hide file tree
Showing 36 changed files with 1,238 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/classes/plugin_manager.php
Expand Up @@ -2034,6 +2034,7 @@ public static function standard_plugins_list($type) {
'h5p',
'media',
'recordrtc',
'link'
],

'theme' => array(
Expand Down
3 changes: 3 additions & 0 deletions lib/editor/tiny/classes/manager.php
Expand Up @@ -497,6 +497,9 @@ protected function get_disabled_tinymce_plugins(): array {

// Disable the preview plugin as it does not support Moodle filters.
'preview',

// Use the Moodle link plugin instead.
'link',
];
}

Expand Down
3 changes: 3 additions & 0 deletions lib/editor/tiny/plugins/link/amd/build/commands.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/editor/tiny/plugins/link/amd/build/commands.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/editor/tiny/plugins/link/amd/build/common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/editor/tiny/plugins/link/amd/build/common.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/editor/tiny/plugins/link/amd/build/configuration.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions lib/editor/tiny/plugins/link/amd/build/link.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 359efec

Please sign in to comment.