This is a migrated thread and some comments may be shown as answers.

[Solved] Conflict with TreeView inside TinyMCE plugin

1 Answer 107 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Derek Hunziker
Top achievements
Rank 1
Derek Hunziker asked on 19 Jul 2010, 06:14 AM
Hello,

I have an unusual request... I'm trying to create a TinyMCE plugin that contains an MVC TreeView, but I believe there is a conflict with the TinyMCE javascript. I can usually spot javascript errors with FireBug, but this error is not showing up. What happens is none of the TreeView's client side events are firing and all AJAX calls aren't posting.

Can I trouble someone on the Telerik team to take a quick look at this sample project and see if there is indeed a conflict? If I can get this plugin working, I can guarantee there will be increased interest in the MVC extensions by many TinyMCE users.

Here are some things that I suspect are causing the issue, but I'm not 100% certian:

  • TinyMCE only likes one form element on the page and the treeview may be rendering form tags?
  • TinyMCE and Telerik javascripts are declaring the same variable names
  • TinyMCE javascript is somehow hijacking client-side events

Any help would be much appreciated!

1 Answer, 1 is accepted

Sort by
0
Derek Hunziker
Top achievements
Rank 1
answered on 22 Jul 2010, 04:26 AM
I tracked this issue down to an obtrusive i18n string translation function in TinyMCE's popup javascript. So, this has nothing to do with Telerik's MVC components.
Tags
TreeView
Asked by
Derek Hunziker
Top achievements
Rank 1
Answers by
Derek Hunziker
Top achievements
Rank 1
Share this question
or