newhck / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

CKeditor Intergration #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I know we already have tinyMCE but I prefer CKeditor ( http://ckeditor.com/ )
and since my projects already are using CKeditor its a bit of a mess to
also have tinyMCE.

We could have both of these editors in the class... if you will allow
CKeditor to be added I can make the edits needed for it.

Thanks!

Original issue reported on code.google.com by moncojhr@gmail.com on 3 Mar 2010 at 2:58

GoogleCodeExporter commented 8 years ago
Thanks for the suggestion.  At this time I cannot justify spending the 
development 
time adding a redundant feature to the project; however, if you would like to 
add this 
functionality, and are willing to share your implementation, I will gladly 
review and 
make the appropriate modifications to the project.

On a side note...
I would enjoy seeing how you are using this class in your projects.  You have 
given 
me helpful feedback/suggestions since I brought this project to 
code.google.com, 
and it's been a pleasure working through these issues with you.  Do you have 
any 
links?

- Andrew

Original comment by ajporterfield@gmail.com on 3 Mar 2010 at 5:27

GoogleCodeExporter commented 8 years ago
Hello, pretty much all my usage of this class has been in administration
interfaces... and other non-public areas on pages. So unfortunately I cant 
really
show you anything, I'm planning to use it on a few simple forms that people ask 
me to
make them which ill certainly be using this for, when that's done ill make sure 
to
show you!

Anyway, I've modified the class to support ckeditor. I've attached all the
new/modified files, in the class just search for "ckeditor" and you will find 
every
edit that I've made. Hopefully you think its good enough for the project :-)

I dont know if there is an easier way to share patches/changes? Also if there is
anything I've done wrong, or you want done a different way, please point it out!

Thanks, also its a lot more fun working on this then creating forms manually...

Original comment by moncojhr@gmail.com on 4 Mar 2010 at 3:29

Attachments:

GoogleCodeExporter commented 8 years ago
Well done on the ckeditor integration.  I will get this published in a new 
release ASAP.  
Would you like me to credit you in the source by your google username 
(moncojhr) or 
by your real name?  If you would like to be credited by your real name but 
don't want to 
disclose that on this forum, you can email me at andrew at imavex dot com.

Original comment by ajporterfield@gmail.com on 4 Mar 2010 at 7:48

GoogleCodeExporter commented 8 years ago
Hey, just moncojhr is fine thanks! :-)

Original comment by moncojhr@gmail.com on 5 Mar 2010 at 12:07

GoogleCodeExporter commented 8 years ago
The latest release - version 1.0.0 - has been published and includes the 
CKEditor 
integration.  I added ckeditorBasic as an option to include when calling 
addCKEditor 
which renders the editor with a minimal toolbar.  Also, there is a form 
attribute - 
ckeditorLang - that can be used to specify the language CKEditor uses.  If 
there are 
other options that make sense to include, please let me know and I will add.  
Thanks 
again for your work on this integration!

-Andrew

Original comment by ajporterfield@gmail.com on 5 Mar 2010 at 3:45