I have fckeditor installed, but it does not work on the product page. The field that I have it on, “description” becomes blank. Any help would be great.
I came up with a quick javascript workaround for the empty textarea problem (my previous post). I simply set the textarea.value to something before initiating fck and it worked just fine.
@Caden: If you’re getting actual <br /> tags added to your stuff it’s NOT fckeditor. It’s Magento. For instance, if you disable fck and use a plain textarea and type stuff in and hit return a bunch of times, you’re not adding in the <br /> tag. Magento does that for you.
I think that might be one of the wysiwyg settings. I’ll post later if I find anything out.
So can I get a summary: Have we figured out to get TinyMCE working in the latest version or not? Is your wiki page up-to-date with this process?
Thanks.
after hours of banging my head into my keyboard i have figured out have to fix tinymce!
well i say fix. what i mean is make it work.
put the following code into app\design\adminhtml\default\default\template\page\footer.phtml
<script language="javascript" type="text/javascript" src="<?php echo $this->getUrl('js/tiny_mce') ?>tiny_mce.js"></script> <script language="javascript" type="text/javascript"> var id = setTimeout(function(){ tinyMCE.init({mode : "textareas"}); }, 1000); </script>
thats all there is to it.
It seems that the javascript that sets things out messes up tinymce as they run at the same time. This code simply delays the running of the tinymce javascript and everything then works. Its not ideal but maybe someone can come up with a better way.
Many thanks for the Wiki, I managed to get FCK working in CMS pages (yet to try products) but have the problem with not being able to create new items.
Can you explain where exactly and in what file the additional javascript needs to go. I couldn’t code my way out of a wet paper bag, so specific instructions that may seem obvious to you guys just go over my head
put the following code into app\design\adminhtml\default\default\template\page\footer.phtml
I have attempted this modification. The page becomes white and the firebug javascript console shows two “tinyMCE is not defined” errors at en.js (line 3 : tinyMCE.addToLang) and editor_template.js (line 1 : tinyMCE.importThemeLanguagePack).
I am waiting for a built in WYSIWYG editor in Magento (any will be better than none). This will save much time, especially by adding new product description.
Magento indicated in September 2007 that this will be available in upcoming releases. For those that have installed the 1.1 Alpha, is it any signs of this for the upcoming version?
I also noticed that doing a clean installation of Magento ver. 1.0.19870.4, tiny mce is not longer part of the installation (at least the files are no longer located under /js/tiny_mce/tiny_mce.js).
Hi , after much struggle Ive finally manage to use fckEditor.
The problem is it simply dont recognize <div>’s
If You try to save code with divs it will mess things up.
So after much struggle I finally have to switch off fckEditor.
For me it isnt big deal -Ill use plain html but for my wife it would be great help (specially uploading/ managing pictures)
Is there any working alternative to FCK? (I couldnt force tinyMCE to worK)