Closed (fixed)
Project:
Draft
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2008 at 18:21 UTC
Updated:
5 Dec 2008 at 21:48 UTC
Hi,
I've patched the draft.js file to add the ability to save node taxonomies. The problem relied on the fields' name containing square brackets "[]". I do not send the form to draft.module as "normal" php form, or I'll have PHP split it in arrays, and serializing them as such. Before sending the form, I simply convert "["s in "("s and "]"s in ")"s in the field name... before restoring I do the reverse convertion.
Patch attached (I'm also using "my" code for FCKEditor, that seems to work better than yours)
Thank you :)
| Comment | File | Size | Author |
|---|---|---|---|
| draft.js_.patch | 3.57 KB | flexer |
Comments
Comment #1
darren.ferguson commentedFlexer
Patch has been applied and tested, the - and + seemed to be the wrong way around in the patch file, but it is all good.
It is now in the HEAD.
I am going to package up a new release so that people get the latest from this since it has a lot of fixes since the 6.1 release.
Comment #2
darren.ferguson commentedFlexer have added the information to the module, this is now closed it is in the latest stable release
Comment #3
vijaythummar commentedwhen populating form
I am getting value "fckLaunchedTextareaId.length" is 0.
thats why i could not get populated body of content. rest of the things is working fine.
Please help me.
vijay
Comment #4
flexer commentedhello,
are you using FCK or not? Are you using Tinymce? Or nothing at all?
Comment #5
vijaythummar commentedyes I am using FCKEditor_2.6.3 and my code for populate form is
I have alter(fckLaunchedTextareaId.length) value but i am getting 0 and my content is not populating in fckeditor.
Please help me.
vijay
Comment #6
flexer commentedvijaythummar this is *not* the latest version of the MODULE. Please upgrade.
I was not talking about the version of the FCK, but about the version of the module.
As you may see in the new draft.js, the way to interact with FCK is:
Comment #7
darren.ferguson commented