wysiwyg editor helper
Permalink
Maybe I've missed it, but if not:
There are many nice helpers to print a button, different form elements etc.
Having a function to insert a TinyMCE editor would be quite nice, wouldn't it?
There are many nice helpers to print a button, different form elements etc.
Having a function to insert a TinyMCE editor would be quite nice, wouldn't it?
Oh, I think it would be nice.
It will make it in there at some point. It's more about making sure that a useful configurable subset be exposed through the helper.
e.g. The helper should let you determine whether your'e giving access to the c5 toolbar, the helper should let you pick one of the predefined tinymce setups you have (so you can easily make a simple text editor), etc...
e.g. The helper should let you determine whether your'e giving access to the c5 toolbar, the helper should let you pick one of the predefined tinymce setups you have (so you can easily make a simple text editor), etc...
Glad to hear that.
Yes, the helper would need quite a few options but I'm sure you'll find a nice way to wrap it all up (:
Yes, the helper would need quite a few options but I'm sure you'll find a nice way to wrap it all up (:
Andrew, if you start working on this. I just found a small problem which you might find.
When you use the code you wrote for the content-block - there's a problem with the javascript asset library callback. When you add "$al->image" to a dialog where you have a wysiwyg control the pictures/file appear in the editor and not in the image control.
I know, I can override this behavior, no big deal. But if you create a helper for this, you might want to make sure it doesn't influence other controls like "$al->image"
When you use the code you wrote for the content-block - there's a problem with the javascript asset library callback. When you add "$al->image" to a dialog where you have a wysiwyg control the pictures/file appear in the editor and not in the image control.
I know, I can override this behavior, no big deal. But if you create a helper for this, you might want to make sure it doesn't influence other controls like "$al->image"
exactly the problem i ran into today.
any sample-code you could provide me for a block-type containing an image and content-attribute?
zahle au gern öpis für en muschter-block ;-)
any sample-code you could provide me for a block-type containing an image and content-attribute?
<field name="content" type="X2"></field> <field name="fID" type="I"> <unsigned /> <default value="0" /> </field>
zahle au gern öpis für en muschter-block ;-)
I was able to realize my needs with the Area-Splitter. A great Add-On!
Musterblock haben ;)
Has this been fixed in rc1? Can you check this issue Remo?
Area-splitter is cool, great addon!
Has this been fixed in rc1? Can you check this issue Remo?
Area-splitter is cool, great addon!
Remo:
could you explain to me where and how to override this behaviour (wysiwyg editor 'grabbing' the images from the image block)? i'm stuck at this problem.
thank you.
could you explain to me where and how to override this behaviour (wysiwyg editor 'grabbing' the images from the image block)? i'm stuck at this problem.
thank you.
can anyone tell me how to override the content block behaviour of fetching the image from the image control? I really need to get this fixed as I use the combination of the two controls (wysiwyg and image) in a number of custom blocks.
help is greatly appreciated. thank you.
help is greatly appreciated. thank you.
I currently need a lot of code to insert the wysiwyg editor. At least unless I've missed something..