Managed to have the YUI Editor working but after I create or modify a page/content/story etc then data is not saved in the database. Using Drupal version 5.3 with theme danger4k (I tried some other themes as well). The path in Yui Editor shows * after I tried the empty value.
Any suggestions?
Thanks in advance....
Michael
Comments
Comment #1
jbowman commentedHey guys.. ran into this at work possibly. If not, I have a separate issue. Yui-Editor only supports version 2.3.0, it will not work with 2.3.1
By default the module points to yui version 2.3.0 hosted at yahooapis.com, however, if you want to host locally and go grab yui, you will get version 2.3.1
Something with 2.3.1 is breaking the submit button on post additions. In our case, we were using the blog module. Using 2.3.0 it works fine. Using 2.3.1 the "op" variable assigned to the submit button is not getting passed, so when you hit submit, it's basically just refreshing the page.
Not sure if this is a module issue, or a yui issue. I haven't dug into the module code. For our purposes I just got the developer v.2.3.0 of the yui libraries and carried on. We've got a huge rush on this project, which is how I got Drupal into the picture here in the first place. Our development environment is usually Zope/Plone.
Comment #2
ceejayoz commentedI get this issue with the YUI 2.4.0 build as well.
Comment #3
kattkung commentedI used yui library 2.4.1 and 2.3.0. Same problem: I can't save content. HELP!
Comment #4
jeffcd commentedAfter investigating this I found that with certain releases of the YUI api you need to comment out a line in yui_editor.js. If you find that the data is not being saved upon submit then comment out this line: 'handleSubmit: true'. Sorry, but there really isn't much else I think I can do on this.
Comment #5
markDrupal commentedusing 2.5.1 fixed this for me. Of course it broke the "Use plain text editor"
look in the module file for the line of code with 2.3.1 and just change it to 2.5.1 and change your YUI general settings in the drupal admin to use 2.5.1 of the API
then reload the page
Comment #6
jeffcd commentedYeah... we just need a better way to manage the whole dependency/version system. It's probably the biggest issue we have with the YUI modules right now. Users shouldn't have to worry about the version in my opinion.
Comment #7
toddgeist commentedNot sure if I should create a new support request or not???
I am having the same issue with the latest download.
It looks like the 'handleSubmit: true' is already commented out and the line in the module file was changed to use 2.5.1.
But I still can't save content.
Any ideas?
Comment #8
markDrupal commentedIt looks like the 'handleSubmit: true' is already commented out and the line in the module file was changed to use 2.5.1.you should uncomment out the line in 2.5.1
delete the "//"
that fixed it for me
Comment #9
angad_singh commentedIt's been 2 years that this issue was reported and it still exists with YUI 2.6 Rich Text Editor drupal project's latest version. Really surprising that nobody is fixing the issue. Has the development of this project totally stopped? No versions since November 2008?