Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#120 closed Bug (wontfix)

simulate class-hierarchy for exact css match

Reported by: zelle@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: CantFix Cc:

Description

BodyClass or BodyId is a nice method to match a page's css definitions to the editor area. but generally a page has an element hierarchy (e.g. nested div-tags). i mean ".myclass" makes a difference to ".container .myclass". can you make it possible to simply add some tags with class/id attributes that can not be overwritten by the editor to simulate the entire page? then the native css-definitions would work for the editor-pane just like the orignal view.

Change History (2)

comment:1 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Keywords: cantfix added
Resolution: wontfix
Status: newclosed

Sorry, but it's not possible to create such generic structure inside the editor and avoid the user changing it.

You'll have to simplify the CSS that you want to use, so it just references one container element and set the properties of the body that way.

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Keywords: CantFix added; cantfix removed

Confirmed... you must keep in mind that some areas in the site will be editable, and design them accordingly.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy