From 7d90e33be7ee1de4f79216b33ce9e28794685dc4 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 30 Jun 2010 10:56:57 +0200 Subject: [PATCH] Fixed #657: pr->pe, colors for annotations --- redakcja/static/css/html.css | 5 ++++- redakcja/static/js/wiki/view_editor_wysiwyg.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 38873007..c935f094 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -370,7 +370,10 @@ div[x-node] > .uwaga { } .htmlview .annotation:hover { - background-color: #96e0e4; + background-color: #ffcccc; +} +.htmlview .pe .annotation:hover { + background-color: #96e0e4;*/ } *.htmlview *.annotation-inline-box { position: static; diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index ef087a3b..d8704fde 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -97,7 +97,7 @@ range.insertNode(tag[0]); xml2html({ - xml: '' + text + ' --- ', + xml: '' + text + ' --- ', success: function(text){ var t = $(text); tag.replaceWith(t); -- 2.20.1