I created a toolset and told my custom field to use the rich text editor, but on the publish page, nothing shows. No JS errors either.
https://skitch.com/litzinger/81b9a/rich-text-editor-expressionengine
https://skitch.com/litzinger/81nyy/edit-field-expressionengine
https://skitch.com/litzinger/81nye/new-entry-pages-expressionengine
Crud, I see it.
Go ahead and disable the view code rte tool for the time being, a syntax error snuck its way in.
Also, the addon error on install can result in some installs not having the rte extension installed. In that case you’ll need to uninstall and reinstall the rte module.
after view coder tool was disabled, loadRTE start working. But still no buttons.
<fieldset class="holder">
<div id="field_id_3-editor" class="WysiHat-editor" contenteditable="true" role="application">
<textarea name="field_id_3" cols="90" rows="6" id="field_id_3" dir="ltr" class="rte">/textarea><p> </p>
</div>
</fieldset>No fair Iain! I’ve already tried that and it’s not working. Can’t get the RTE to show, but its shrinking the height I have set for the textarea window to default height after page load now, so I tell EE’s trying to load it.
By disabling the extension first, I was able to uninstall and reinstall the RTE module.
Hm… I am using the new third_party_path config var for this install, but that doesn’t appear to be in the way of anything else.
I’ve already set and reset about everything to do with the RTE and can’t get it working.
UPDATE! - I switched to the non-compressed JS and RTE is now working.
Non-compressed JS did the trick for me as well. Having had a little play around I did spot a bug with the Link tool, which insists you select some text, but when you click Add Link the link (just the URL) is prepended to the start of the text regardless of what’s been selected. In Safari anyway.
A few times I’ve had a JS error when switching from a paragraph to a heading as well, though it only seems to happen after I’ve used the Link tool, so it may just be a side effect of that bug. (INDEX_SIZE_ERR: DOM Exception 1: Index or size was negative, or greater than the allowed value.)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.