diff --git a/public/app/ckeditor/_source/plugins/link/plugin.js b/public/app/ckeditor/_source/plugins/link/plugin.js
index f373eaf..69672a8 100644
a
|
b
|
CKEDITOR.plugins.add( 'link', |
30 | 30 | CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' ); |
31 | 31 | |
32 | 32 | // Add the CSS styles for anchor placeholders. |
33 | | editor.addCss( |
| 33 | if( editor.config.linkShowAnchors ) editor.addCss( |
34 | 34 | 'img.cke_anchor' + |
35 | 35 | '{' + |
36 | 36 | 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' + |
… |
… |
CKEDITOR.plugins.add( 'link', |
132 | 132 | |
133 | 133 | afterInit : function( editor ) |
134 | 134 | { |
| 135 | if ( !editor.config.linkShowAnchors ) |
| 136 | return; |
| 137 | |
135 | 138 | // Register a filter to displaying placeholders after mode change. |
136 | 139 | |
137 | 140 | var dataProcessor = editor.dataProcessor, |
… |
… |
CKEDITOR.unlinkCommand.prototype = |
225 | 228 | CKEDITOR.tools.extend( CKEDITOR.config, |
226 | 229 | { |
227 | 230 | linkShowAdvancedTab : true, |
228 | | linkShowTargetTab : true |
| 231 | linkShowTargetTab : true, |
| 232 | linkShowAnchors : true |
229 | 233 | } ); |