We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

2.5 Rich Text Editor not appearing

Developer Preview

Brian Litzinger's avatar
Brian Litzinger
711 posts
about 14 years ago
Brian Litzinger's avatar Brian Litzinger

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

       
Max Lazar's avatar
Max Lazar
341 posts
about 14 years ago
Max Lazar's avatar Max Lazar

Same story - same settings, no Js errors, no RTE.

       
iain's avatar
iain
317 posts
about 14 years ago
iain's avatar iain

Same here guys.

       
Pascal Kriete's avatar
Pascal Kriete
2,589 posts
about 14 years ago
Pascal Kriete's avatar Pascal Kriete

What does My Account > Rich Text Editor Preferences tell you? It may not be enabled (no extensive install/update testing has happened yet).

       
Max Lazar's avatar
Max Lazar
341 posts
about 14 years ago
Max Lazar's avatar Max Lazar

My Account: Enable Rich Text Editor? Yes Default Toolset Default http://cl.ly/0b0Z3x223y0o0A230B2I

       
Brian Litzinger's avatar
Brian Litzinger
711 posts
about 14 years ago
Brian Litzinger's avatar Brian Litzinger

same

       
Pascal Kriete's avatar
Pascal Kriete
2,589 posts
about 14 years ago
Pascal Kriete's avatar Pascal Kriete

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.

       
Max Lazar's avatar
Max Lazar
341 posts
about 14 years ago
Max Lazar's avatar Max Lazar

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>
       
iain's avatar
iain
317 posts
about 14 years ago
iain's avatar iain

I just tried to uninstall the RTE and got the following error:

A Database Error Occurred Error Number: 1091 Can’t DROP ‘rte_enabled’; check that column/key exists ALTER TABLE `exp_members` DROP `rte_enabled` Filename: modules/rte/upd.rte.php Line Number: 236
       
iain's avatar
iain
317 posts
about 14 years ago
iain's avatar iain

If I

  1. Delete the Default toolset
  2. Create a Toolset called “Test” with just the “View Code” tool disabled
  3. And (get this!) set “Enable the Rich Text Editor?” to NO in the module

It appears!

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
about 14 years ago
Kurt Deutscher's avatar Kurt Deutscher

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.

       
Dom Stubbs's avatar
Dom Stubbs
156 posts
about 14 years ago
Dom Stubbs's avatar Dom Stubbs

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.)

       
Brian Litzinger's avatar
Brian Litzinger
711 posts
about 14 years ago
Brian Litzinger's avatar Brian Litzinger

I replaced all the JS with the uncompressed versions and it still isn’t showing for me.

       
NicoDG's avatar
NicoDG
26 posts
about 14 years ago
NicoDG's avatar NicoDG

Removing the “View code” option from the default toolbar did the trick for me

       
Brian Litzinger's avatar
Brian Litzinger
711 posts
about 14 years ago
Brian Litzinger's avatar Brian Litzinger

Indeed, that works. Thanks!

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.