From 7eff1f3b5234df05e9c086be81b871c6c8dce487 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 4 Mar 2013 23:37:54 +0400 Subject: [PATCH] added back CKEditor support... Signed-off-by: Alex A. Naanou --- index.html | 23 +++++++++++++++++++++++ magazine-themes.css | 15 ++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7aed30a..9ff996a 100755 --- a/index.html +++ b/index.html @@ -265,6 +265,19 @@ + + + + + + @@ -377,11 +390,21 @@ function setupEditor(){ if(action == 'on'){ MagazineScroller.stop() $('[contenteditable]').attr({contenteditable: 'true'}) + // ckeditor... + if(CKEDITOR_ENABLED){ + CKEDITOR.inlineAll() + } } else { $('[contenteditable]') .blur() .attr({contenteditable: 'false'}) MagazineScroller.start() + // ckeditor... + if(CKEDITOR_ENABLED){ + for( var i in CKEDITOR.instances){ + CKEDITOR.instances[i].destroy() + } + } } }) diff --git a/magazine-themes.css b/magazine-themes.css index b6ad803..ce55a0c 100755 --- a/magazine-themes.css +++ b/magazine-themes.css @@ -295,6 +295,12 @@ color: gray; } +::selection { +} +::-moz-selection { +} + + /*********************************************************** light ***/ @@ -342,7 +348,14 @@ background: black; } - +.dark ::selection { + background: yellow; + color: white; +} +.dark ::-moz-selection { + background: yellow; + color: white; +}