Opened 10 years ago

Closed 9 years ago

#993 closed defect (fixed)

PageStyle to override styles in PageStylesheets

Reported by: guest Owned by: akaEdge
Priority: low Milestone:
Component: Documentation Version:
Severity: trivial Keywords: pagestyle pagestylesheets
Cc:

Description

Could the pageStyle be added to the document after the PageStyleSheets? are included, so that inline styles can be used to override what is in the stylesheets ?

i.e. change the order so that it reads:

if ( typeof editor.config.pageStyleSheets !== 'undefined' )
{

...

}

if ( editor.config.pageStyle )
{

html += "<style type=\"text/css\">\n" + editor.config.pageStyle + "\n</style>";

}

Change History (4)

comment:1 Changed 10 years ago by guest

  • Resolution set to invalid
  • Status changed from new to closed

oops sorry, please delete this. inline styles do take precedence over stylesheets.

comment:2 Changed 10 years ago by guest

  • Resolution invalid deleted
  • Status changed from closed to reopened

The inline pagestyle do seem to be needed added after the pagestylesheet if it is to override the exact same style in the css file. Do different browser behave differently ?

comment:4 Changed 9 years ago by gogo

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.