 |
Terrific update! Thanks for this :-D
Posted 31 months ago.
(
permalink
)
|
 |
This is terrific work. Keep it up.
Thank you so much for sharing it with us.
Posted 31 months ago.
(
permalink
)
|
 |
There is another rich editor script too, for comments (that i wrote)
Posted 31 months ago.
(
permalink
)
|
 |
Hi, Jessica. I did use your script for a while before I found jrhyley's. I find that I don't like the editable iframe. I'd rather see the source code as I generate it. I guess that's just a matter of taste. Your script is very nice. The source is beautiful!
By not hiding the comment text area I would think there's also less of a chance of conflicts with other scripts that also target the comment box.
I've been considering some changes to my version.
1) Use graphics instead of text links. (I'd make them look like flickr buttons with microtext, I think)
2) Adding underline (seems obvious, and someone asked for it from jrhyley. Not sure why it wasn't in the current version. )
3) Creating a standardized "button bar" which many scripts can target. Each such script should see if it already exists before creating it themselves. I have two scripts that add buttons to a description editor, and I think they should be standardized.
4) Borrowing your smiley interface.
Regarding #4, I'm not terribly familiar with the BSD license. It doesn't seem very restrictive, though. Modifying and adding your smiley interface to my script seems like it'd be acceptable. Would that be ok?
When I used your script it was nice to be able to add a graphical smiley to a comment. 
BTW, I'm a little confused who authored your script. The copyright notice says Thom, but you said you wrote it. Are you really Thom inside Jessica's body? :-P
Posted 31 months ago.
(
permalink
)
|
 |
Or Jessica in Thoms body, however you wanna look at it! 
The new BSD license is pretty relaxed, basically some credit somewhere is good and you can't use my name to endorse any derived software without permission, not that you'd want to since i'm not exactly famous. Other than that use what you want, glad you like the source! it started to get a bit messy as I kept going back to it.
Posted 31 months ago.
(
permalink
)
|
 |
Also you might want to look at this article about the lightbox i wrote for that script
Posted 31 months ago.
(
permalink
)
|
 |
I just posted version 0.4
This now works when editing the descriptions of sets and collections.
The sets editor is incredibly small, so I also updated my Flickr Larger Description Editor to make the set description editor much larger.
Posted 31 months ago.
(
permalink
)
|
 |
this is wonderful but I'm not being able to install it ;-( when I click the above link it says"error loading user scrip 404: not found"
Weird, it never happened to me before and I've many many scrips installed from this group!
Please heeelp!!!! ;-) Thanks so much!
Posted 29 months ago.
(
permalink
)
|
 |
Sorry for the 404. Try it now.
Posted 29 months ago.
(
permalink
)
|
 |
I love this script -- use it everyday!
Is there any chance underscore (or "underline") could be added?
Posted 27 months ago.
(
permalink
)
|
 |
Thank u for the script.
Can´t be added the img code and the underline????
Posted 26 months ago.
(
permalink
)
|
 |
Was just gonna say was trying to edit it so the link was the img code instead but it wont work. Why?
Posted 26 months ago.
(
permalink
)
|
 |
How about adding a option that when you click on it then it will add my name as a signature, so you have bold, what ever the other one is, link quote and signature. This possible? What about if i write in the script my name, then will it work?
Posted 26 months ago.
(
permalink
)
|
 |
Hey Hey!!! I just managed to edit this script so that it has another link which is my signature!!!
Posted 26 months ago.
(
permalink
)
|
 |
i wrote a patch for this script, so it works on newly created textareas, for instance ones created by gm scripts, such as my Flickr Inline Post and Comment Editor. The patch isnt perfect as on certain flickr generated textareas you will get 2 control bars.
my patched version of the script can be obtained here: steeev.freehostia.com/flickr/flickrrichedit.user.js
and here is the code that ive inserted into the script:
//--------------------------------
// BEGIN: listener Function that checks for newly inserted textareas
// Code by Steeev steeev.freehostia.com/flickr + flickr.com/steeev/
// 4th june 2008
function insertedNodeDomHandler(event) {
// if its not a node containing other nodes and its not a textarea exit
if( !event.target.getElementsByTagName && event.target.nodeName!='TEXTAREA')
return;
if(event.target.nodeName=='TEXTAREA')
newtextareasA=[event.target];
else
newtextareasA=event.target.getElementsByTagName('textarea');
if(newtextareasA.length)
for(i=0; i if ( !newtextareasA[i].style || !newtextareasA[i].style.display || newtextareasA[i].style.display.toLowerCase() != "none" )
{
// make exceptions for mail editing GM textareas, as cant use rich edit functions there
if(newtextareasA[i].getAttribute('id') != 'damessagePMid' && newtextareasA[i].getAttribute('id') != 'damessageid') {
var controlBar = new ControlBar( true, true, true, true );
controlBar.inject( newtextareasA[0]);
}
}
}
document.addEventListener("DOMNodeInserted", insertedNodeDomHandler, false);
// END: listener Function that checks for newly inserted textareas
//--------------------------------
Originally posted 17 months ago.
(
permalink
)
steeev (a group admin) edited this topic 17 months ago.
|
 |
With the upgrade to Firefox3, I find that the links squish together, with no margin between them. This is due to one too many semicolons in the script:
On line 153, change this:
link.style.marginRight = "8px;";
To this:
link.style.marginRight = "8px";
And then it will all display fine again.
Posted 16 months ago.
(
permalink
)
|
 |
Ooh, that's better! Thanks premasagar.
Posted 16 months ago.
(
permalink
)
|
 |
Thanks :)
Posted 16 months ago.
(
permalink
)
|
 |
@premasagar: Funny, I noticed that myself, and I finally got sick of it, so I investigated. I didn't know why it didn't work, so I used a work-around instead:
link.setAttribute('style','Margin-Right: 8px;');
Your fix is what I really wanted. I just didn't know what was wrong. Thanks! :) I'll update the file on my web site soon.
To everyone else: I'm glad you like my script. I haven't messed around with GreaseMonkey in a long time, hence no updates. I might work on it again soon and add underlining, images, or some sort of signature option.
Originally posted 15 months ago.
(
permalink
)
Todd Moon edited this topic 15 months ago.
|
 |
underline, strikethrough etc would be great - thanks for this script - it's just about my most often used
Posted 15 months ago.
(
permalink
)
|
 |
thanks for the great scripts! but have you ever thought of making those text links into icons? it would looks much nicer.
Posted 14 months ago.
(
permalink
)
|
 |
We (Kiwi and me) also rewrote this great script by jrhyley -original here , which now provides tags for italic, underline, bold, strike, 'blockquote', links and images.
We included the blockquote tag again, since it seems to work fine in FF3.
The img tag is meant for inserting a small thumb (default 50 by 50px) of an image to a comment.
Combining the img and the link tag, will let you insert clickable thumbs in a comment field, whereas the original (which should be in the 'link" tag) opens in a new window - click this:

First use the image tag than mark the whole string and use the link tag.
You might download the script with shorten tag names from the link provided on Kiwi's photo resp. here or with long tag names from my site
No icons yet, sorry!
Originally posted 12 months ago.
(
permalink
)
ablichter edited this topic 12 months ago.
|
 |
I've been reading all this and I'm none the wiser so I guess I'm an idiot.
I use rich text but only use the functions italic and bold because I have no idea how the 'quote' and 'link' functions work. I've tried messing with it but duhhhhhhhh
could someone please explain how it works?
I would love having these codes in there:
<a target=_blank href="link to website
and
" >text</a>
so that I wouldn't have to copy and paste those codes all the time when I am trying to make a link look nice (is that what the quote and link functions do?? )
Posted 12 months ago.
(
permalink
)
|
 |
I would love having these codes in there:
<a target =_blank href="link to website and " >text</a>
so that I wouldn't have to copy and paste those codes all the time when I am trying to make a link look nice (is that what the quote and link functions do?? )
Yes, this is what the script does. Why not trying it out? You can't do anything bad.
When you want to use the link feature, you write something like "blabla here" in a comment, mark it with the mouse, than use the "link" tag and in the opening box you provide the URL (the link starting with "http://")
And the quote feature will do what happens with your quoted text in this comment.
Click quote and provide some text between <blockquote>here</blockquote> (instead of the word here)
Originally posted 12 months ago.
(
permalink
)
ablichter edited this topic 12 months ago.
|
 |
I did try to work with it but didn't do it right. I got it to work now. Thank you so much!
Posted 12 months ago.
(
permalink
)
|
 |
I finally updated my own version of this script. I added underline, strike, and image.
And I made a lot of code changes that no one but coders would appreciate. :)
Originally posted 6 months ago.
(
permalink
)
Todd Moon edited this topic 6 months ago.
|
 |
Great!
Posted 6 months ago.
(
permalink
)
|
 |
I am using Firefox 3.5 Beta 4 on Mac OS 10.5.7 and Greasemonkey 0.8.20090123.1.
It seems that if I enable this script (or any other Rich Editor script) I lose the ability to edit any image description. Has this happened with any one else? I'd really love to be able to use this script and still edit my image descriptions.
Thanks!
Posted 5 months ago.
(
permalink
)
|
 |
Great!! I'll try it.
Posted 5 months ago.
(
permalink
)
|
 |
Brian Matiash I have just upgraded to Firefox 3.5 and I have noticed the same issue as you: when Rich Edit is activated, the descriptions cannot be edited.
In the error console, there is an error when I try to edit a description: Error: this.richEditStartEditing is not a function
Source File: file:[snip]/greasemonkey.js Line: 591 But the greasemonkey.js file does not have a line 591 (as expected), and the richEditStartEditing is provided in the flickr_rich_edit.user.js file.
The Larger Description Editor suffers from the same problem, so I would say the two are linked... The problem given there is:Error: this.largerDescriptionEditorStartEditing is not a function
Source File: file:///[snip]/greasemonkey.js Line: 428
Originally posted 4 months ago.
(
permalink
)
Seb Przd edited this topic 4 months ago.
|
 |
I'm in the same boat as Brian Matiash! I hope there's an update on this because it's one of those scripts I can't do without! Hope you can update soon!
Posted 4 months ago.
(
permalink
)
|
 |
I'll update it in another two years, OK?
Just kidding! I haven't installed Firefox 3.5 yet. When I do, I'll take a look. I'm probably won't have a chance to check it out until Thursday night, or if I don't get to it then, then not until after the weekend.
Posted 4 months ago.
(
permalink
)
|
 |
Fixed. I still need to do the same with the Larger Description Editor script. I also want to migrate that to userscripts.org.
Here: userscripts.org/scripts/show/52905
Originally posted 4 months ago.
(
permalink
)
Todd Moon edited this topic 4 months ago.
|
 |
Todd Moon : Two years!??? Noooooo! LOL No, seriously, I love it!
Thank you so much for the update! It's really appreciated! Yeap, works like a charm now. =D
Posted 4 months ago.
(
permalink
)
|
 |
Hi
I'm using FF 3.5 and had a problem that others may have. When I installed the new versions, the old versions were still active and conflicting.
Now I have removed them all is well (ish).
On problem still persists from the older version of Rich Edit. Find an image of yours on which you have added a two or more line comment, say in answer to someone's comment. Click edit. The text in the box deletes some spaces to make conjoined words, and adds line returns where there weren't any. This does not happen in a discussion thread.
Posted 4 months ago.
(
permalink
)
|
 |
Thanks for the update, works a treat now
Posted 4 months ago.
(
permalink
)
|
 |
ClevaTreva,
I am unable to reproduce the problem you describe. I used two example paragraphs of text and commented on my own photograph. Then I edited the comment a number of times. At no point were spaces removed, or line breaks added.
Can you please try to reproduce the problem under the following conditions:
Disable all Firefox extensions other than Greasemonkey. Disable all GM scripts other than the Rich Editor script that would run on your photo page. Verify that the problem still occurs.
Then, if it does, disable the Rich Edit script and verify that the problem no longer occurs.
Then please tell me the exact text you were using in your comment before it got messed up, and any special steps you took to cause the problem. (For example, "I selected the word "birthday" and clicked on the Bold link", then his save.)
Thanks!
Posted 4 months ago.
(
permalink
)
|
 |
I'll do it tonight when I get home.
Posted 4 months ago.
(
permalink
)
|
 |
ClevaTreva, OK, thanks.
I also didn't have the install problem you described. At work I still had an old version, and when I installed the new one, it overwrote it like I expected.
The file name is still the same, and so is the namespace in the script. It should not have created a duplicate entry.
Posted 4 months ago.
(
permalink
)
|
 |
OMG. My bad. Not your script that is causing this. A script called Inline Text Editor.
Posted 4 months ago.
(
permalink
)
|
 |
Re: old versions conflicting
This happened to me, I still had the previous version (before you took over) and that one and the current version were both installed at the same time. Deleting the old one made everything work.
Posted 4 months ago.
(
permalink
)
|
 |
Thanks for the firefox 3.5 fix!! Greatly appreciated!!!
Posted 4 months ago.
(
permalink
)
|
 |
Nice fix for the Rich Text bug with Better Flickr. Cheers.
Posted 4 months ago.
(
permalink
)
|
 |
Great Update! It's help me a lot!
Posted 3 months ago.
(
permalink
)
|
 |
ive modified the latest version of your script (added a listener for newly created textareas) so it works with my inline text editor script. the modified version of the rich edit script is available here: steeev.freehostia.com/flickr/flickrrichedit.user.js
Originally posted 4 weeks ago.
(
permalink
)
steeev (a group admin) edited this topic 4 weeks ago.
|
 |
hey steev and everyone who worked on fixing that description thing :D
i am confused. is this with me only?
screenshot
Originally posted 2 weeks ago.
(
permalink
)
kiwi_kirsch edited this topic 2 weeks ago.
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|