Yii Framework Forum: Best Rich Text Editor - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Best Rich Text Editor Your voice matters Rate Topic: -----

#1 User is offline   phpdevmd 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 73
  • Joined: 16-April 09

Posted 10 October 2009 - 03:25 PM

Which Rich Text Editor do you think is the best for our daily web projects?
Please share your positive and negative experience.

(Voting on poll, please take in consideration such aspects as Clean resulting code, Compatibility with other javascripts, and so on.)


MarkItUp (site). Dependencies: jQuery. Markup: Html, Textile, Wiki Syntax, Markdown, BBcode, Dotclear.
(examples)

Wymeditor (site). Dependencies: jQuery. Markup: Html.
(examples)

CKEditor (site). Dependencies: none. Markup: Html.
(examples)

TinyMCE (site). Dependencies: none. Markup: Html.
(examples)

NicEdit (site). Dependencies: none. Markup: Html.
(examples)


To Yii Team: pinning this or similar topic is welcome. Most of Web 2.0 projects require a rich text editor. Yii is the best for Web 2.0 development (my yii experience proves me this).
0

#2 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 11 October 2009 - 10:52 AM

I did know only FCKEditor and TinyMCE, however I see MarkItUp does support Markdown syntax, so it's my new fav B)
Yii user #37
0

#3 User is offline   mbi 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 604
  • Joined: 08-May 09

Posted 11 October 2009 - 03:15 PM

TinyMCE is the only one I work with
0

#4 User is offline   Backslider 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 363
  • Joined: 23-July 09

Posted 11 October 2009 - 03:19 PM

Its a matter of choice/needs.

I use Wymeditor, since it suits my needs and users cant screw pages with bad markup.
We were all once expert at....... nothing.

yii-language-behavior

My Blog
0

#5 User is offline   Harry Tang 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 10-August 09

Posted 12 October 2009 - 01:58 AM

TinyMCE fast, simple, easy to use
0

#6 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 12 October 2009 - 04:18 AM

wymeditor is nice too!
Yii user #37
0

#7 User is offline   phpdevmd 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 73
  • Joined: 16-April 09

Posted 12 October 2009 - 06:15 AM

We have worked with TinyMCE for long time, but now need to create forms on-the-fly in a popup. Popup is a jquery-ui dialog (works great), code for the form is a response to the ajax call (we insert response html in the div directly). At this moment tinymce is able to handle just 1 first popup (if you press cancel and open a 2nd dialog, then due to a javascript error you are loosing the current page and being redirected).
Then we tried CKEditor, it may handle N dialogs, but we have to destroy all instances of the editor in the dialog when user presses cancel button. And skins in the dialog are not working for IE (works great in Firefox, Chrome, and others).

For our current project we are going to try MarkItUp, and if time allow, next one will be Wymeditor.

Thanks for reading!
0

#8 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 12 October 2009 - 11:02 AM

I'd go for Wymeditor as I think what you read on its home page is so true:

Quote

Why WYMeditor ?

Do you modify your website using a content management system (CMS)? Do you allow your clients to modify their website with a CMS?

If yes, you have certainly met de difficult choice of a web-based (X)HTML editor.

* You may have tried a full-featured WYSIWYG editor, but you apprehend that your clients use it inappropriately, with the risk it degenerates visually and on the code quality.
* You may also have tried the BBcode syntax, Markdown or the wiki-style syntax, but you don't want to force your clients to solutions that are too technical/complex for them, even if it tends to generate good quality code.


Problem with full-featured WYSIWYG editor like CKEditor, TinyMCE etc. is that you can style content in a different way from the main site, so it could "degenerate visually". MarkItUp with markdown is very good but it could be complex for newbie users. I think WYMeditor would be a good compromise as it's more "visual" than MarkItUp, still you change the content structure without altering the main site styling.
Yii user #37
0

#9 User is offline   isreal 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 15-February 09
  • Location:slp, mex

Posted 13 October 2009 - 05:14 PM

just work with wymeditor, is ok, but i do not think the best.
0

#10 User is offline   Andrey G. 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 25-August 09
  • Location:Russia

Posted 14 October 2009 - 03:37 AM

actually u can load css of ur main site and content will looks same. the only thing u have to solve - css for <body>, coz <body> for iframe (ur WYSIWYG's content) and <body> for main site - sometimes differ alot.

View Postekerazha, on 12 October 2009 - 11:02 AM, said:

I'd go for Wymeditor as I think what you read on its home page is so true:



Problem with full-featured WYSIWYG editor like CKEditor, TinyMCE etc. is that you can style content in a different way from the main site, so it could "degenerate visually". MarkItUp with markdown is very good but it could be complex for newbie users. I think WYMeditor would be a good compromise as it's more "visual" than MarkItUp, still you change the content structure without altering the main site styling.

Just Do It!
0

#11 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 16 October 2009 - 05:40 PM

View PostAndrey G., on 14 October 2009 - 03:37 AM, said:

actually u can load css of ur main site and content will looks same. the only thing u have to solve - css for <body>, coz <body> for iframe (ur WYSIWYG's content) and <body> for main site - sometimes differ alot.

Yes, but the user could customize the content style (color ecc.) in ways that are not coherent with the main template, while Wymeditor is specifically designed to only customize the structure and not the style.
Yii user #37
0

#12 User is offline   xwsoul 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 51
  • Joined: 17-February 09

Posted 08 November 2009 - 12:08 AM

Currently I think i need MarkItUp . :lol:
My English is poor !
0

#13 User is offline   pmaselkowski 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 01-March 10

Posted 08 April 2010 - 07:59 AM

I found interesting editor nicedit, which transforms div into editable content by setting contenteditable="true" so content looks exacly like it will be presented on page. Simple and elegant solution.
However it does not work on IE 6 and im not sure if on IE 7 and further development seems to be inactive...
0

#14 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 08 April 2010 - 08:37 AM

Finally I chose CKEditor 3
Yii user #37
0

#15 User is offline   Junior - df9 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 416
  • Joined: 24-May 09
  • Location:Brazil

Posted 27 April 2010 - 05:58 AM

View Postekerazha, on 08 April 2010 - 08:37 AM, said:

Finally I chose CKEditor 3


whats the difference between CKEditor and nCKEditor? there are two extensions that seem to do the same thing..
______________________________________
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
0

#16 User is offline   fastcrash 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 245
  • Joined: 10-March 10
  • Location:South Jakarta

Posted 12 July 2010 - 04:12 AM

Quote

whats the difference between CKEditor and nCKEditor? there are two extensions that seem to do the same thing..


nothing difference, it was the same.

i use ckeditor3.x + ckfinder2.x now, its very cool.
the new ckfinder2.x now is more restricted, a lot of code encrypted. it's really hard. :-X

i try xinha too, its very cool, you can crop the image!
never see this feature in tiny or ckeditor (althought i hear fckeditor have crop2size)

the bad for xinha, cannot global asignment like ckeditor
<textarea class="ckeditor">global asignment</textarea>


everytime you asigned new editor you must write the id to js file :o

i dont know, maybe i must experiment more deep.. :)
0

#17 User is offline   Coda 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 101
  • Joined: 20-September 10
  • Location:Kathmandu, Nepal

Posted 19 January 2011 - 11:39 PM

My best choice TinyMCE
0

#18 User is offline   JaXX 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-February 11

Posted 16 February 2011 - 06:01 AM

Since I store in DB some pieces of code too eval(), I use editArea which natively does PHP Syntax Highlighting (among css, html, xml, python, bf, etc...) and is extensible to others

(Argh, first post, not allowed to embed links: "www dot cdolivet dot com" then click on editArea in the sidebar )

And it works pretty well! :-)
0

#19 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,450
  • Joined: 04-October 10

Posted 17 February 2011 - 05:04 AM

View Postphpdevmd, on 12 October 2009 - 06:15 AM, said:

We have worked with TinyMCE for long time, but now need to create forms on-the-fly in a popup. Popup is a jquery-ui dialog (works great), code for the form is a response to the ajax call (we insert response html in the div directly). At this moment tinymce is able to handle just 1 first popup (if you press cancel and open a 2nd dialog, then due to a javascript error you are loosing the current page and being redirected).
Then we tried CKEditor, it may handle N dialogs, but we have to destroy all instances of the editor in the dialog when user presses cancel button. And skins in the dialog are not working for IE (works great in Firefox, Chrome, and others).

For our current project we are going to try MarkItUp, and if time allow, next one will be Wymeditor.

Thanks for reading!


I fixed that problem with TinyMCE. It is due that you haven't remove previous references to the editor. I use extensively AJAX and that problem was just that. Here my useful functions:

var tinyEls = [];

// once ajax content has been loaded
// this function will recreate the editor
function addTiny(a) {
    if (window.tinyMCE) {
        if (tinyEls.length == 0) tinyMCE.idCounter = 0;
        tinyMCE.execCommand("mceAddControl", false, a);
        tinyEls.push(a)
    }
}
// add content to tiny (not really needed)
function addText2Tiny(a, B) {
    tinyMCE.execInstanceCommand(a, "mceSetContent", false, B)
}
// remove all created 
function removeTiny() {
    $.each(tinyEls, function () {
        tinyMCE.execCommand("mceRemoveControl", false, this)
    });
    tinyEls = []
}
// remove a specific one
function extractTiny(a) {
    var b = $.inArray(a, tinyEls);
    if (B) {
        tinyMCE.execCommand("mceRemoveControl", false, a);
        tinyEls.splice(b, 1)
    }
}


I remove it from the document (using extractTiny or removeTiny) before erasing the HTML tags holding the editor (getting its contents of course and set them to their appropriate TEXTAREA tags) and when I load a new one, I just call the addTiny method passing the ID of the newly added TEXTAREA tag.


PS: I normally use tinyMCE as you may guess
┬┐How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#20 User is offline   rymonator 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 124
  • Joined: 02-December 10

Posted 17 February 2011 - 02:13 PM

I can't believe Notepad++ isn't on the list. It's all I need for my web programming endeavors.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users