Forums / Setup & design / Changing CSS for online editor not working...

Changing CSS for online editor not working...

Author Message

Mark Marsiglio

Thursday 04 December 2003 3:10:52 pm

Any ideas on how to troubleshoot changes to the editor.css in the ezdhtml design folder not taking effect?

Just to make sure my changes would be noticeable, I changed the font size of H1 to 72px, but the editor still shows it the same as it did with the default css.

Has anyone gotten this to work (changing the editor css)?

Also, how do you assign a class to an object in the OE? I see the ability to select a class, but the only choice is [None]. Where do I set the available classes?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Don MacLeod

Wednesday 11 February 2004 6:56:37 am

Mark

I have exactly the same issue. It's OE 3.2 and I try to make changes to extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css. Absoloutely no effect whatsoever. I have also tried making changes to other stylesheets in case they were being picked up in preference to editor.css such as admin.css & core.css but the Editor style remains the same.

It's very frustrating because its not exactly the best WYSIWYG environment whereby the override stylesheet employed to render the final site bears no resemblance at all to what you see in the Editor!

Anyone got an idea on this one??

Thanks,

Don.

Edward Eliot

Wednesday 13 October 2004 3:44:47 am

Anyone know how to do this?

Wenyue Yu

Wednesday 13 October 2004 5:19:22 am

Hi,

After editing extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css, go to IE/Tools/Internet Options/General/Delete Files/, check "Delete all offline content" and click ok.

Regards,
wenyue

Sander van den Akker

Tuesday 05 July 2005 8:06:20 am

that doesn't work for me, it is as if the css is not used at all.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Osichr Hayez

Wednesday 02 November 2005 11:45:53 pm

I have the same problem. Not effect when I change the editor.css file.

Even if I rename the file, there is no effect. I supect the file isnt read at all..

Kirill Subbotin

Thursday 03 November 2005 5:13:29 am

Changing editor.css should work in both browsers.

If not, check that you can get this file from your server. Try to enter:
http://your_site_url/extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css

If your setup is ok, you will see the css text. If no check rewrite rules, there should be a rule like the following:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

PS. Please write here, does it help you or not!

Osichr Hayez

Thursday 03 November 2005 5:13:33 am

I found the reason for this. My site's url looks like this:

www.myserver.com/~accountname/index.php/site_admin

The OE-javascript doesnt include ~accountname in the path to editor.css.

When configuring a vhost the editor.css file works. Then the url should look like this:

www.myserver.com/index.php/site_admin

Kirill Subbotin

Thursday 03 November 2005 5:15:03 am

If this is the problem, I will make a patch and you will check it, ok?

Osichr Hayez

Thursday 03 November 2005 5:18:33 am

That would be great!

(I also made an entry for this in the OE bug list.)

Kirill Subbotin

Monday 07 November 2005 2:24:04 am

I've done some modifications and I think this will work for non-vhost environments. Here is the patch:

http://ez.no/download/add_ons/online_editor/ez_publish_3_online_editor/css_patch
(I think you have proper access rights on ez.no to get it ?)

Please test it on both browsers (IE, Mozilla) and report us, does it work or not.

Osichr Hayez

Tuesday 06 December 2005 12:06:12 pm

Thanks a lot - the patch works for me!

eZ debug

Timing: Jan 18 2025 11:35:09
Script start
Timing: Jan 18 2025 11:35:09
Module start 'content'
Timing: Jan 18 2025 11:35:10
Module end 'content'
Timing: Jan 18 2025 11:35:10
Script end

Main resources:

Total runtime0.9231 sec
Peak memory usage4,096.0000 KB
Database Queries231

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.8438180.8125
Module start 'content' 0.00690.7545 768.6563814.3281
Module end 'content' 0.76140.1616 1,582.9844349.3047
Script end 0.9230  1,932.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.5155210.0002
Check MTime0.00190.2037210.0001
Mysql Total
Database connection0.00120.129510.0012
Mysqli_queries0.831190.02662310.0036
Looping result0.00290.31712290.0000
Template Total0.889896.420.4449
Template load0.00350.374320.0017
Template processing0.886396.011020.4431
Template load and register function0.00010.015210.0001
states
state_id_array0.00120.124810.0012
state_identifier_array0.00140.151720.0007
Override
Cache load0.00300.3286530.0001
Sytem overhead
Fetch class attribute can translate value0.00300.327380.0004
Fetch class attribute name0.00160.1780140.0001
XML
Image XML parsing0.00200.215680.0002
class_abstraction
Instantiating content class attribute0.00000.0023140.0000
General
dbfile0.00250.2689330.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs