vanilla-thunder/hdi-tinymce — pull request #11 by marten-seemann (2013-12-17 22:23:44+00:00)
Title: make it possible to use multiple TinyMCE instances on one page

Previously, it was not possible to use multiple instances of TinyMCE on one page, since the function *copyLongDescFromTinyMCE* only used the value of the active editor instance. This lead to saving the same text multiple times and losing the input in all other editor instances.

This fix evaluates each editor instance separately by addressing them with their DOM id, thus making it possible to use as many TinyMCE instances per page as wanted.