Ticket #993 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

Changed 6 years ago by guest

  • status changed from new to closed
  • resolution set to invalid

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

Changed 6 years ago by guest

  • status changed from closed to reopened
  • resolution deleted

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 ?

Changed 5 years ago by gogo

Changed 5 years ago by gogo

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