Browse Source

Support HTML in footnotes.

8.x-1.x
Alexander O'Neill 6 years ago
parent
commit
64f8005088
  1. 14
      js/plugins/reference_footnotes/plugin.js

14
js/plugins/reference_footnotes/plugin.js

@ -26,8 +26,22 @@
); );
}, },
beforeInit: function( editor )
{
// Adapt some critical editor configuration for better support
// of BBCode environment.
var config = editor.config;
CKEDITOR.tools.extend( config,
{
enterMode : CKEDITOR.ENTER_BR,
basicEntities: false,
entities : false,
fillEmptyBlocks : false
}, true );
},
init: function( editor ) init: function( editor )
{ {
editor.addCommand('createreferencefootnotes', new CKEDITOR.dialogCommand('createreferencefootnotes', { editor.addCommand('createreferencefootnotes', new CKEDITOR.dialogCommand('createreferencefootnotes', {
allowedContent: 'fn[value]' allowedContent: 'fn[value]'
})); }));

Loading…
Cancel
Save