cosmocode / edittable

Plugin to provide a custom editor for tables in DokuWiki
https://www.dokuwiki.org/plugin:edittable
32 stars 26 forks source link

No edit button under the table and "insert a new table" is not working #47

Closed mubed closed 10 years ago

mubed commented 10 years ago

I think there is a conflict with another plugin, because I see neither an edit button under the table nor I can add any new table using the "insert a new table" button in the editor, it shows a link to "Media Files" instead!

Tested with "Angua" and "Binky"

splitbrain commented 10 years ago

your javascript is broken. check your javascript error console.

mubed commented 10 years ago

Well "your javascript is broken" doesn't really solve my problem, but using the console I could track the problem a bit:

I first found out that there is a conflict with the "discussion" plugin, then I updated it and after that I could see and edit the table, but the right-click-menu is still missing. This is what the console currently says:

  Uncaught ReferenceError: addInitEvent is not defined js.php? tseed=ad5e7d62576a95e85e30693424adcd7a:24
  (anonymous function) js.php?tseed=ad5e7d62576a95e85e30693424adcd7a:24
  event.returnValue is deprecated. Please use the standard event.preventDefault() instead. js.php? tseed=ad5e7d62576a95e85e30693424adcd7a:4
splitbrain commented 10 years ago

my answer was as helpful as your initial report. The errors you get are still not coming from the edittable plugin. check your other plugins

mubed commented 9 years ago

I got the latest versions of all the plugins, templates (monobook 2014-02-09), Dokuwiki (2014-09-29 "Hrun") and the latest version of EditTable (2014-06-18), But there are still problems with the context menu (other stuff work fine in Chrome but not in IE 11):

The context menu do apears, but under the whole page layout (see image)! dokuwiki_edittable_bug

adamsdesk commented 9 years ago

This is an issue with the template Monobook. However the same author created a new template called Vector and works perfectly with edittable.

mubed commented 9 years ago

You are right. It works fine under "vector", but only in Chrome and Firefox, not in IE 11 (11.0.9600.17358)