Joern Nettingsmeier schrieb:
> Andreas Hartmann wrote:
>> Hi Lenya devs,
>>
>> there are some TinyMCE-related bugs, some have patches attached.
>> Does anyone use TinyMCE and could test + apply the patches?
> 
> sorry, i should have done that a while ago.
> the problem is that whenever i try to get my head around the editor
> code, i don't know where to start, and i don't feel like tacking another
> ad-hoc solution to the existing pile. i feel we should move some stuff
> around and rip out duplicate code before 1.4. i'd love to help with
> that, but i need some hand-holding ;)
> 
> how about providing a saveDocument() in DocumentUsecase, so that it does
> not have to be re-invented by every single editor?
> same for a getNodesToLock(), validation and for the proper invoking of
> workflow state changes... wdyt?

I wouldn't introduce too much facade code, the Usecase interface is
already quite complex ... OTOH, too much boiler plate code is bad as
well. What do the others think?


> one other thing i don't understand is why OneFormEditor calls saveXML
> before doing the validation. bug or feature?

The code was a bit strange, I cleaned it up - please test.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to