Skip to content

Commit

Permalink
Update ckeditor mobile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lenglund committed Sep 22, 2017
1 parent e190011 commit e7cdff6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions compair/static/modules/common/form-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ module.service('EditorOptions', function() {
height: "150px",

// enable custom plugin that combines ASCIIMath and LaTeX math input and code highlighting
extraPlugins: 'codesnippet,combinedmath,autolink',

contentsCss: ["body {font-size: 16px !important}"]
extraPlugins: 'codesnippet,combinedmath,autolink'

};
});
Expand Down
1 change: 1 addition & 0 deletions compair/templates/index-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
// config CKEDITOR
CKEDITOR.plugins.addExternal( 'combinedmath', '/app/lib_extension/ckeditor/plugins/combinedmath/' );
CKEDITOR.plugins.addExternal( 'autolink', '/app/lib_extension/ckeditor/plugins/autolink/' );
CKEDITOR.addCss( '@media screen and (-webkit-min-device-pixel-ratio:0) { .cke_editable { font-size: 16px !important; } }' );
CKEDITOR.on('dialogDefinition', function(ev) {
var dialogName = ev.data.name;
var dialog = ev.data.definition.dialog;
Expand Down
1 change: 1 addition & 0 deletions compair/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
// config CKEDITOR
CKEDITOR.plugins.addExternal( 'combinedmath', '/app/lib_extension/ckeditor/plugins/combinedmath/' );
CKEDITOR.plugins.addExternal( 'autolink', '/app/lib_extension/ckeditor/plugins/autolink/' );
CKEDITOR.addCss( '@media screen and (-webkit-min-device-pixel-ratio:0) { .cke_editable { font-size: 16px !important; } }' );
CKEDITOR.on('dialogDefinition', function(ev) {
var dialogName = ev.data.name;
var dialog = ev.data.definition.dialog;
Expand Down

0 comments on commit e7cdff6

Please sign in to comment.