Welcome Guest, Not a member yet? Register   Sign In
CI and Damn Small Rich Text Editor integration
#1

[eluser]NZmuzzer[/eluser]
Hi all,

I'm trying to integrate a jquery plugin called Damn Small Rich Text Editor (dsrte) into CI, but I'm having zero luck.

URL for editor is http://avidansoft.com/dsrte/

The editor looks great as it small, simple, and includes a nice image uploader. Unfortunately the docs are pretty bad.

I've looked at tinyMCE, FCKeditor etc but all are more complex and bloated than what I would prefer. I want the simple image upload alongside the simple interface for doing really basic text entry.

Anyone out there integrated dsrte into CI or interested in giving it a punt???
#2

[eluser]TheFuzzy0ne[/eluser]
Looks interesting. All you really need to do, is create an abstraction layer between DSRTE and CodeIgniter. I won't make any promises, but I might look into it tomorrow if I can find the time. It's 2:09AM here, and I'm feeling groggy.
#3

[eluser]TheFuzzy0ne[/eluser]
I've been looking into porting DSRTE over to CodeIgniter and I'm afraid to say it's going to be too much work for me to do any time soon. I was hoping that I could just create a simple abstraction layer to make it compatible with CodeIgniter, but the code has been written in such a way, almost every single file needs editing. If I'm going to do that, I might as well do it properly, write documentation and support custom configuration etc... So basically, I can't find the time to do it right now, but I might try and get it done in the future, but please don't hold your breath.

I would strongly suggest you go with something like TinyMCE or FCKEditor. I know it's not what you want, but it might save you a headache.
#4

[eluser]NZmuzzer[/eluser]
Thanks for that TheFuzzyOne
.
Yeah, it looks like I may have to go for one of the "big two". Unfortunate as they are far more complex than what I wanted.

It's weird, but most wysiwyg editors do not come with image upload capability. I would have thought that was essential for most uses.

I have several sites on which clients need to be able to essentially blog, ie provide information on whats on today, current specials, weather conditions for specific diving locations etc, and they require images to go with the text. Unfortunately the average client is probably not capable of using a complex wysiwyg editor, which is why DSRTE interested me.

Does anyone know of any other editors with upload capability, which are relatively lightweight/simple, and quickly integrated into CI.
#5

[eluser]TheFuzzy0ne[/eluser]
Here are two more possibilities:

[url="http://markitup.jaysalvat.com/home/"]markItUp[/url] and [url="http://www.wymeditor.org/en/"]WYMeditor[/url]
#6

[eluser]isaaccreative[/eluser]
I've been using NicEdit
http://nicedit.com/

It's a little buggy like ALL js editors... but this one works great.

PRO's
* Lightweight
* One line plug & play
* Ajax upload & image shack feature is pretty cool.

CON's
* icons are not as pretty
* toolbar not as flexible
* requires a little js editing
#7

[eluser]Jay Logan[/eluser]
And TinyMCE is very flexible. By default, it includes more features then you might need but you can trim it down a lot by simply removing items in the code you paste into your header.
#8

[eluser]Thorpe Obazee[/eluser]
You can use TinyMCE. Create your own upload and then use the external_image_list_url config




Theme © iAndrew 2016 - Forum software by © MyBB