Ticket #797 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

Naming and IDing the IFrame

Reported by: guest Owned by: akaEdge
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

I couldn't see anywhere in the source where the dynamic Iframe is either named or ID'ed.

I've added the following lines at line 1334 in HTMLArea.js which I'd like to submit for inclusion:

iframe.name = "iframe_" + this._textArea.id; iframe.id = "iframe_" + this._textArea.id;

The reason for this is for integration with ASP Spellcheck (code below if anyone else wants to integrate):

xinha_config.registerButton("spellcheck", "Spell check the WYSIWYG", "/edit/_js/xinha/images/spellcheck.gif", false, function(editor) {

editor._popupDialog("../../ASPSpellCheck/ASPSpellCheck.asp?fields=iframe:" +editor._iframe.name,

null, null);

editor.updateToolbar();

}

);

Change History

Changed 4 years ago by ray

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

in the meantime this has happened

Note: See TracTickets for help on using tickets.