hello, you might empty the editor object before creating a new one, check this out: http://dev.ma-be.info/editor-test.zip
greets Marat 2013/9/4 Michael Zender <[email protected]> > Hello Martin,**** > > ** ** > > thanks for your reply. I read your bug report and have to say, that I came > across the same problems as you did during my investigation.**** > > ** ** > > Considering the other code snippets that exist in the template besides the > simple output of $editor (onSubmit Attribute in <form>-Tag, hidden field > for oxarticles__oxlongdesc in the form), it seems to me that multiple > text editors on a single tab is not really a feature supported by a nice > self-contained method in oxAdminDetails L.**** > > ** ** > > Anyone else having experience with this topic?**** > > ** ** > > Best regards**** > > Dipl.-Ing. (FH) Michael Zender > Development eCommerce > Technical Project Lead**** > > MOS-TANGRAM AG > Wohlerstrasse 2 > CH-5623 Boswil > Phone: +41 (0)56 677 82 20 > Fax: +41 (0)56 677 82 99 > E-Mail: [email protected] > Internet: http://www.mos-tangram.com**** > > ** ** > > *Von:* [email protected] [mailto: > [email protected]] *Im Auftr**ag von *Martin Wegele > *Gesendet:* Mittwoch, 4. September 2013 14:46 > *An:* [email protected] > *Betreff:* Re: [oxid-dev-general] Multiple WYSIWYG Editors on a single > admin tab**** > > ** ** > > Hi Michael,**** > > ** ** > > I could not get it working either, so I reported it as a bug: > https://bugs.oxid-esales.com/view.php?id=5295**** > > Maybe the information in the description will help you to make it work?*** > * > > ** ** > > Regards,**** > > Martin**** > > ** ** > > *Von:* [email protected] [ > mailto:[email protected]<[email protected]>] > *Im Auftrag von *Michael Zender > *Gesendet:* Mittwoch, 4. September 2013 14:31 > *An:* '[email protected]' > *Betreff:* [oxid-dev-general] Multiple WYSIWYG Editors on a single admin > tab**** > > ** ** > > Hi everyone,**** > > ** ** > > I’m trying to extend the main tab of the article section in the shop’s > backend with two new text areas, that make use of the WYSIWYG editor.**** > > ** ** > > I found the method oxAdminDetails::_generateTextEditor() but it seems like > this method returns NULL after it has generated the first editor.**** > > ** ** > > Is this considered a bug? Or does the Oxid backend by design not support > more than one editor on a single tab?**** > > ** ** > > Any information on this topic would be much appreciated.**** > > ** ** > > Best regards**** > > Dipl.-Ing. (FH) Michael Zender > Development eCommerce > Technical Project Lead**** > > MOS-TANGRAM AG > Wohlerstrasse 2 > CH-5623 Boswil > Phone: +41 (0)56 677 82 20 > Fax: +41 (0)56 677 82 99 > E-Mail: [email protected] > Internet: http://www.mos-tangram.com**** > > ** ** > > _______________________________________________ > dev-general mailing list > [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general >
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
