Skip to content

Commit

Permalink
Issue #790: Disable exportpdf and elementspath in cke.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven committed Feb 12, 2021
1 parent 9ee333e commit cc7ae14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/httpd/htdocs/js/Core.UI.RichTextEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Core.UI.RichTextEditor = (function (TargetNS) {
width: Core.Config.Get('RichText.Width', 620),
resize_minWidth: Core.Config.Get('RichText.Width', 620),
height: Core.Config.Get('RichText.Height', 320),
removePlugins: CheckFormID($EditorArea).length ? '' : 'image2,uploadimage',
removePlugins: CheckFormID($EditorArea).length ? 'elementspath,exportpdf' : 'elementspath,exportpdf,image2,uploadimage',
forcePasteAsPlainText: false,
format_tags: 'p;h1;h2;h3;h4;h5;h6;pre',
fontSize_sizes: '8px;10px;12px;16px;18px;20px;22px;24px;26px;28px;30px;',
Expand Down

0 comments on commit cc7ae14

Please sign in to comment.