Opened 4 years ago

Closed 3 years ago

#1523 closed enhancement (invalid)

Dynamically create textarea and then init Xinha to it

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.97
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description (last modified by ejucovy)

Desktop-like apps work with windows that can be created after app has started and that can be closed en opened again on demand. On this kind of windows textareas can be placed that must be transformed in Xinha-editors. That can be done with Xinha.init and/or Xinha.replace, but problems arise with the standard way of setting and reading text from de editor(s). The way described in help/guide with xinha_editors doesn't work . I found out that __xinhas is global object that enumerates (and stores?) editors. Through a loop over this object it is possible to find the editor and set/get text.

It would be a great enhancement when Xinha is adjusted to this new way of developing of internetapps: to remove an editor when the window is closed form __xinhas object, to created or replace an already existing editor when a window is created and easily keeping track of the existing editors in the app.

Change History (2)

comment:1 Changed 3 years ago by ejucovy

  • Description modified (diff)

Hmm, I don't understand this ticket, can someone describe a way to set up and reproduce a specific error here?

comment:2 Changed 3 years ago by gogo

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

I'd close it, this is a matter for the person who wants to use Xinha, what they want to do simply requires a different way of using Xinha than is described in the Newbie guide.

We don't describe every possible way that somebody might fancy to use Xinha :)

Note: See TracTickets for help on using tickets.