rte (rich text editor) package deployed by fastblogit.com

About: Cross-Browser Rich Text Editor

Rights: " .... supplied later ... "
Components:
This is supported by a form : DevinRoth.com forums my access is 1180

His blog is: here.. who ever heard of a bolg with no ability to comment ... seems like a contradiction in terms to me.

This is not a discussion node.  It is to document this software component that is being used for the rte.

Progress report: mrbrdo's revised rte (quoted in a comment below) has been installed and tested in ../add/index2.html.  So far it is working to eliminate the extra click on file upload.  Continueing to try the styling do-cy-do. 

Tags

  1. deployd
  2. package
  3. rte

Comments


Seth says
Re the licencing of the second module that i dont know if i need or not:

NOTICE:

HTML2XHTML License:
Free for non-commercial using. Please contact author for commercial licenses.
------------------------------------------
If you use this (the xhtml export) in your commerical applications you must pay the author of the class a license fee.
See the html2xhtml.js file for more details. Upon past research you can pay a one time fee for all your releases. I wasn't able to
determine how much this ran.

You can shut off the xhtml export by setting the genXHTML attribute to false:
//Usage: initRTE(imagesPath, includesPath, cssFile, genXHTML)
initRTE("images/", "", "", false);

Found this on the forum here.

Seth says
their item 698 talks about problems with  insertHTML(html)

Seth says
From forum :

" In PHP you must also do a 'stripslashes()' on any data received via POST. "

Seth says
my post to the forum about rte.css control of styles inside rte box

Seth says
From forum:  RSS Styles

This has been installed on our server under new_rte

Sure..

The archive contains a modified version which contains css support besides the image uploading script. But it's done a bit dirty, cause IE or Mozilla didn't seem to recognise <whatever class="class"> in the editor (it didn't change the text correctly), but it did recognise style="whatever here", so that's what you see in source code. So if you want to use css styles these are my notes:

- styles are read from user.css, and in that file each has to be in one line like this:
.style1 { bgcolor: #000000; other: ...; }

- when giving text to the editor (in the writeRichText function) that contains css classes (like class="class"), you have to call the function "editorCorrectClassesForRead" in the same way you call rteSafe (check the examples in the original (!) rte editor download).. you need to call both functions) from MrBrdo.php (btw you can rename and put this file wherever you want or copy the code to another file, you just have to set the path to user.css in the code then) else the classes won't be recognised

- if you want to replace the style="..." with class="the_right_class" (you probably want that when you get the content that was inputed into the editor and want to display it or save it somewhere), you call "editorCorrectClassesForWrite" from MrBrdo.php

- also, the file is now richtext.php and not richtext.js (so watch that when you put in the html)..

If you only want the image uploading support, only copy the following files from the archive:
insert_image.htm
image_upload.php

You have to edit image_upload.php and insert the right paths (like the local folder for the images on the server and what the url in <img src=.. will be). Also note one thing.. I couldn't get it to work if the script doesn't know how the editor control is named (you name it in the writeRichText function in the html you use it), so you have to set it in image_upload.php.. It will not work for editors that are not named that way (so that can be a problem if you want multiple editors on the same page).

If you have any questions ask or if you found a problem tell me.. I hope the explanation was ok..

you can find the archive here: http://www.mrbrdo.net/my_rte.rar

Seth says
Found note about licencing here.

unknown says
seth 2005-09-23 15:09:44 821
my post to the forum about rte.css control of styles inside rte box


See Also

  1. Thought Now have ability to style individual thoughts with CSS style sheets with 66 viewings related by tag "rte".
  2. Thought Fixing the "unfixable" bugs in CKEditor with 5 viewings related by tag "rte".
  3. Thought about: Writely - The Web Word Processor with 3 viewings related by tag "rte".
  4. Thought Invisible characters found in editor output. with 2 viewings related by tag "rte".
  5. Thought rte symbols used on gmail with 1 viewings related by tag "rte".
  6. Thought about: Micro Persuasion: Blog Directly from Firefox with 0 viewings related by tag "rte".
  7. Thought How come Winnies does not have one of these? with 0 viewings related by tag "rte".
  8. Thought RTE nastiness with 0 viewings related by tag "rte".
  9. Thought rte for item needs convenient exit for consistency with 0 viewings related by tag "rte".
  10. Thought Difficult project of correlating inserted in-line styles in RTE and then removing all styles and scripts with 0 viewings related by tag "rte".
  11. Thought Ok ... so we can do rich text editing ... with 0 viewings related by tag "rte".
  12. Thought this is what we are trying to prtect the rte box against with 0 viewings related by tag "rte".
  13. Thought test with 0 viewings related by tag "rte".
  14. Thought Does Color Work ? with 0 viewings related by tag "rte".
  15. Thought bad url removes RTE contents with 0 viewings related by tag "rte".
  16. Thought Test image with 0 viewings related by tag "rte".
  17. Thought Square brackets and rte with 0 viewings related by tag "rte".
  18. Thought we have two variations of permalink uri floating around with 0 viewings related by tag "rte".
  19. Thought test with 0 viewings related by tag "rte".
  20. Thought Test - I lost bold comments on a specific [item 1460] with 0 viewings related by tag "rte".
  21. Thought Advanced RTE doesn't seem to have sound with 0 viewings related by tag "rte".
  22. Thought right mouse click menu should have a paste option for the RTE with 0 viewings related by tag "rte".
  23. Thought Test of the Opera Browser with 0 viewings related by tag "rte".
  24. Thought I declare victory over RTE !!!!!!! with 0 viewings related by tag "rte".
  25. Thought RTE Matrix with 0 viewings related by tag "rte".
  26. Thought Pasting Google in blogspot 's RTE box with 0 viewings related by tag "rte".
  27. Thought is tag navigation working better now ? with 0 viewings related by tag "rte".
  28. Thought another rte with 0 viewings related by tag "package".
  29. Thought JavaScript based HTML editor with 0 viewings related by tag "package".
  30. Thought another rte with 0 viewings related by tag "package".
  31. Thought How can i deactivate paste in a rich text edit box ? with 0 viewings related by tag "rte".
  32. Thought Final revisions for styles and fonts with 0 viewings related by tag "rte".
  33. Thought the rte box should be exactly as wide as the item display with 0 viewings related by tag "rte".
  34. Thought RTE change with 0 viewings related by tag "rte".
  35. Thought a spammers dream with 0 viewings related by tag "rte".
  36. Thought [title (1663)] with 0 viewings related by tag "rte".
  37. Thought [title (19071)] with 0 viewings related by tag "rte".
  38. Thought pointing to media files from the web from the rte box with 0 viewings related by tag "rte".
  39. Thought upload button on rte should do a user friendly fail when files are too big with 0 viewings related by tag "rte".
  40. Thought New version, Firefox 1.5 released today with 0 viewings related by tag "rte".
  41. Thought Announcement: emotlets work on rte box with 0 viewings related by tag "rte".
  42. Thought inserting hyperlinks over selected text containing apostrophe does not work in rte with 0 viewings related by tag "rte".
  43. Thought Checking out the word Watch with 0 viewings related by tag "rte".
  44. Thought bring back the underline with 0 viewings related by tag "rte".
  45. Thought icons with 0 viewings related by tag "rte".
  46. Thought about: php html editor, rich text editor for php with 0 viewings related by tag "rte".
  47. Thought This is a tutorial on the rte software with 0 viewings related by tag "rte".
  48. Thought Google search for Fastblogit with 0 viewings related by tag "rte".
  49. Thought Is there a real time RTE box in our future ? with 0 viewings related by tag "rte".
  50. Thought about: online markdown editor - dillinger, the last markdown editor ever. with 0 viewings related by tag "rte".