Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stylesheet Parser
#7
Hello Shawn,

That didn't work. I just get the normal styles and paragraph formats and h2 does not come out pink

This is the first part of the config.js - any thoughts?
// GetSimpleCMS config file for CKeditor 3.6.2

// default editor config

CKEDITOR.replace( 'editor1' , {
config.stylesSet = [];
config.extraPlugins = 'stylesheetparser';
config.contentsCss = '/css/guy.css';
};

CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here.
config.resize_dir = 'vertical' // vertical resize
config.toolbarCanCollapse = false; // hide toolbar collapse button
config.dialog_backgroundCoverColor = '#000000'; // veil color for dialog popups
config.magicline_color = '#CF3805';
config.allowedContent = true; // disable acf

config.toolbar_advanced =
[['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source'],
'/',
['Styles','Format','Font','FontSize']];

config.toolbar_basic =
[['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source']];

};

/** ------------------------------------------------------------------------
* GS Default overrides and extras
Reply


Messages In This Thread
Stylesheet Parser - by GuyB - 2014-08-15, 00:42:31
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 01:00:52
RE: Stylesheet Parser - by GuyB - 2014-08-15, 02:15:15
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 02:17:16
RE: Stylesheet Parser - by GuyB - 2014-08-15, 02:19:44
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 02:31:42
RE: Stylesheet Parser - by GuyB - 2014-08-15, 03:21:55
RE: Stylesheet Parser - by GuyB - 2014-08-15, 04:04:04
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 04:20:52
RE: Stylesheet Parser - by GuyB - 2014-08-15, 06:51:52
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 12:29:56
RE: Stylesheet Parser - by GuyB - 2014-08-15, 18:00:08
RE: Stylesheet Parser - by shawn_a - 2014-08-15, 23:30:40
RE: Stylesheet Parser - by GuyB - 2014-08-16, 00:19:49
RE: Stylesheet Parser - by shawn_a - 2014-08-16, 00:27:23
RE: Stylesheet Parser - by GuyB - 2014-08-16, 00:55:18
RE: Stylesheet Parser - by shawn_a - 2014-08-16, 02:12:07
RE: Stylesheet Parser - by GuyB - 2014-08-16, 03:10:53
RE: Stylesheet Parser - by GuyB - 2014-08-16, 18:34:34



Users browsing this thread: 1 Guest(s)