-
☆ A M B ☆
- 450 Posts
As usual, this feels like a dumb question. I am using the TinyMCE editor to edit content of a page in Revo beta 5... When I highlight some text and click on the add/edit link button, and then click on the browse icon next to Link URL, I expect to have access to my resource tree. Instead I am only seeing the "Files" directory with the static files in it. Did I maybe set something up wrong?
-
☆ A M B ☆
- 450 Posts
I assumed that would work, but actually that isn’t working quite right either.
But now that I think of it, I think I might have screwed up my entire installation as relates to TinyMCE the first time I tried to install TinyMCE. During the install I OK’d through some error message related to files being unable to be written; then when I was done, Manager pretty much blew up - a white screen of death. I started grepping through files on disk for ’TinyMCE’ and whacking things left and right. Eventually I deleted /core/cache/mgr/context.cache.php and /core/cache/web/context.cache.php, and got the Manager interface back. Then reinstalled TinyMCE and it worked... or so I thought.
I think I’m going to do a clean install of Revo beta 5, and re-install TinyMCE, before pursuing this issue any further.
-
☆ A M B ☆
- 450 Posts
I rebuilt my Revo installation and reinstalled TinyMCE (and also CKEditor, thanks Shaun for posting it). I still can’t seem to manage to insert a link in either editor though.
In TinyMCE:
If I put ’[[~2]]’ into the ’Link URL’ field, it ends up looking like this in the html source:
<a mce_href="[[~2]]" href="[[%7E2]]">
If I click the HTML button to edit the source directly, and fix it to <a href="[[~2]]">
...that doesn’t work either, as TinyMCE seems to instantly revert it back to the previous weird syntax.
The only way I’ve found to make it work is click "Toggle Rich Text", edit the raw HTML and then save & exit without toggling back to TinyMCE.
The next time I open the same page in TinyMCE, it gums up the links the exact same way. It adds the "mce_href" attribute to ALL links in the page, and it translates ’~’ into ’%7E’.
One other thing I’ve noticed is that simply adding/editing a link in TinyMCE doesn’t seem to register as a change to the page - i.e. the Save button stays greyed out. You have to edit the content in the RTE field in order to have the option to save.
-
☆ A M B ☆
- 450 Posts
FYI I’m using Windows XP SP3, and I’ve been using Firefox 3.6. I just tried using Google Chrome, and all the same problems appeared except one - the character translation from ’~’ to ’%7E’ didn’t happen in Chrome, which makes a big difference because at least the link gets parsed and rendered properly. But the invalid mce_href attribute is still in the final html.