Opened 17 years ago
Last modified 14 years ago
#614 confirmed New Feature
Inline comment editor
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF | Cc: | andrew_schwabe@…, Frederico Caldeira Knabben |
Description
Back when we re-invented the wheel every time we needed something, we created our own DHTML editor. We have long since abandoned it in favor of FCKeditor, however one feature that we used to have that everybody asks for still is the ability to edit html comments in wysiwyg mode.
We had a button, similar to the 'view source' button that when it was "on", would scan the content, find any HTML comments, and insert pretty image open/close brackets around them and make them editable. Essentially this becomes a way to "red line" and take annotations within HTML code. When the "view comments" option was unselected, it hid all the comments again.
I still have working code from our editor that does this, should you be interested in seeing it, I would gladly provide it to you.
Thanks,
Andrew aschwabe(at)iexp(dot)com
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1105221&group_id=75348&atid=543656
Change History (3)
comment:1 Changed 17 years ago by
Cc: | andrew_schwabe@… Frederico Caldeira Knabben added |
---|---|
Reporter: | changed from Martin Kou to anonymous |
comment:2 Changed 17 years ago by
Keywords: | Confirmed added |
---|
I am needing to implement some form of solution for editing comments. I like what I see with hidden form fields. I am thinking for now it might not be a bad idea to customize the hidden form field for our more immediate needs. The field itself could still be a hidden form field, that is no issue, but what I would need it to do is use a "note" icon in the body of the editor where comments exist, and allow the user to mouse over and see an alt tag or something like this.
Any chance you could you point me in the right direction for customizing the hidden form field? Is this something I could make into a plugin, or would that cause more problems than not... ?
Thank you for this product, and any assistance you can give me.
Moved from SF. Original poster: andrew_schwabe
Yes, you were in our tmda spam filter. I whitelisted you, so shouldn't ever be a problem again.
Sounds good. FYI, if you like the spell check, I have an fckeditor plugin of it made already. Let me know and I can send that to you as well.
Moved from SF. Original poster: andrew_schwabe
Hello Andrew,
I answered your e-mail yesterday... maybe you have some spam filter or something... in any case...
I really appreciate your effort. Thanks a lot for the files. I�ll take a look on it and let you know if something will be integrated in the editor.
Best regards, FredCK
Moved from SF. Original poster: fredck
Let me know that you got the files and if you have any questions.
Moved from SF. Original poster: andrew_schwabe
Looks like I can't post files b/c i wasn't logged in when I submitted the note, so I'm going to email you the .zip file.
You should be able to just unzip these to a web server and go to the inline_notes/ directory. This has a ColdFusion index.cfm page, although with miminal efort you can make a static html page that calls the function to create the editor.
Overall, our implementation is VERY poor, but there are a couple nice things in it: IE4 compatibility, a small Java class for old Netscape on Mac browsers, code colorizer (triggered when you type the '>' key), a client-side spell checker that uses MS Word (which I already ported to FCKeditor as a plugin), and the inline notes.
As you probably expect, documentation is sparse.
I hope you find some of this useful. If you want to use any parts of our code or concepts with FCKeditor, no problem, but just let me know what you are using. I will allow any of the code to be released under your open source license.
Moved from SF. Original poster: andrew_schwabe
Hello Andrew,
Of course your implementation is welcome. LEt us know more about it... maybe attach it in this discussion.
Thanks in advance, FredCK
Moved from SF. Original poster: fredck