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

jbowman’s picture

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

ceejayoz’s picture

I get this issue with the YUI 2.4.0 build as well.

kattkung’s picture

Version: 5.x-1.0 » 5.x-1.x-dev

I used yui library 2.4.1 and 2.3.0. Same problem: I can't save content. HELP!

jeffcd’s picture

Status: Active » Closed (fixed)

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

markDrupal’s picture

using 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

jeffcd’s picture

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

toddgeist’s picture

Version: 5.x-1.x-dev » 6.x-1.2-9
Status: Closed (fixed) » Active

Not 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?

markDrupal’s picture

Status: Active » Closed (fixed)

It 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

angad_singh’s picture

It'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?