Opened 15 years ago

Closed 14 years ago

#614 closed defect (wontfix)

Patch to allow setting / getting background color of xinha editor iframe window

Reported by: Wolfgang Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords: set get editor background color


Goal: Set or Get the backgroundColor of the xinha editor window.
Version of xinhabeing used: Date: 2005-11-07; Rev:421

Patch Step1: Modify existing function in htmlarea.js arround line 1887

in HTMLArea.prototype.initIframe = function()

// Wolfgang: Set backgroundColor from white to transparent
//     + "html, body { border: 0px;  background-color: #ffffff; } \n"
	 + "html, body { border: 0px;  background-color: transparent; } \n"

Patch Step2: add these to functions arround line 2000 in htmarea.js

//Wolfgang: changes to set the editor windows iframe background
HTMLArea.prototype.setBackgroundColor = function(bgcolor) { = bgcolor;

//Wolfgang: get the editors iframe backgroundcolor
HTMLArea.prototype.getBackgroundColor = function() {

Change History (1)

comment:1 Changed 14 years ago by gogo

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

Don't think we really need these. If you really want them, they could go into a plugin.

Note: See TracTickets for help on using tickets.