Starting out with RTE and Javascript
I'm somewhat new to Javascript, not HTML/CSS or PHP/MySQL, just JS. I have a quick question.开发者_Python百科 If I were to try to make my own RTE Text editor for a system that I'm building, does anyone know where I would start out? Books, tutorials, whatever is fine. Thanks.
how about Tiny MCE. You can use it as is or read the code - it is open source
Don't re-invent the wheel.
Building a rich-text editor is a lot of work, and making it work in most browsers is even more work.
Instead, you should go with an existing option, such as CKEditor or TinyMCE.
If you want a learning exercise, I recommend starting with something simpler.
The Google Closure library has a great rich text editor. Here is a demo.
精彩评论