Skip to content
Snippets Groups Projects
Commit e3966e62 authored by Eric Bremner's avatar Eric Bremner
Browse files

Issue 3356944: fixing undefined variable so that ckeditor plugin settings load

parent 6938068c
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
hidpi: true, // %REMOVE_LINE_CORE% hidpi: true, // %REMOVE_LINE_CORE%
onLoad: function() { onLoad: function() {
// Add the CSS styles for anchor placeholders.
var iconPath = CKEDITOR.getUrl( this.path + 'images' + ( CKEDITOR.env.hidpi ? '/hidpi' : '' ) + '/anchor.png' ),
baseStyle = 'background:url(' + iconPath + ') no-repeat %1 center;border:1px dotted #00f;background-size:16px;';
var template = '.%2 a.cke_anchor,' + var template = '.%2 a.cke_anchor,' +
'.%2 a.cke_anchor_empty' + '.%2 a.cke_anchor_empty' +
',.cke_editable.%2 a[name]' + ',.cke_editable.%2 a[name]' +
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
hidpi: true, // %REMOVE_LINE_CORE% hidpi: true, // %REMOVE_LINE_CORE%
onLoad: function() { onLoad: function() {
// Add the CSS styles for anchor placeholders.
var iconPath = CKEDITOR.getUrl( this.path + 'images' + ( CKEDITOR.env.hidpi ? '/hidpi' : '' ) + '/anchor.png' ),
baseStyle = 'background:url(' + iconPath + ') no-repeat %1 center;border:1px dotted #00f;background-size:16px;';
var template = '.%2 a.cke_anchor,' + var template = '.%2 a.cke_anchor,' +
'.%2 a.cke_anchor_empty' + '.%2 a.cke_anchor_empty' +
',.cke_editable.%2 a[name]' + ',.cke_editable.%2 a[name]' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment