Ticket #1105 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Convert all textareas in a document

Reported by: ray Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

There are setups where a user simply wants to have all textareas in one page be Xinha-ized. At the moment we have the HTMLArea-legacy-function Xinha.replaceAll(), but I don't favour this, because it does not fit well in the NewbieGuide loading scheme.

Everyone who knows the least bit of JS would assume that they can simply assign document.getElementsByTagName('textarea') to xinha_editors, but that just doesn't work with the current codebase.

Change History

Changed 1 year ago by ray

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

rev [921]: patched Xinha.makeEditors to make it possible to pass a reference instead of an id, for example from document.getElementsByTagName('textarea')

Note: See TracTickets for help on using tickets.