Active
Project:
Wysiwyg ImageField
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2010 at 11:02 UTC
Updated:
14 Jan 2011 at 20:32 UTC
Hi there,
Firstly - amazing module - love it!
I had a little problem where the content I was putting in the WYSIWYG wasn't saving. I realised that the WYSIWYG imagefield button was coming up. I hadn't added an imagefield to the Forum Topic node (which I was looking at). On removing the imagefield button on the input format the content saved fine. So, we ended up creating a different input format for the content types we had that didn't need images. However, ideally, the input format would be dependent on role, so could the WYSIWYG imagefield button, even if selected on the input format, not show if there is no imagefield on that node to pull from?
Thanks
Thomas
Comments
Comment #1
geek-merlinhad sth like this too, suppose this is a dup of #1001250: When an ImageField is not present on the node, wysiwyg_imagefield blanks the Body on submit. which was fixed by #895256: Drupal.settings.WYSIWYGImageField is undefined on forms without imagefields - but only in dev, not in the recommended 1.1 release.