ot - testing the coment editor thingie
Maybe related to the new coments editor controls now I need three clicks in the 'back' button to return to Messages page ( Opera 10beta browser )
Seems strange that a new message dont get this edition helpers, but maybe is not implemented atm.
Edit:
But after saving you can get them when 'Edit comment'
The font in new editor is a bit small, not too bad for me but I can see too small for some people.
And, perhaps would be good that the content window have more height, maybe 200% actual ( with shows 6 lines)
But, anyway is a good addition.
Note to me: shift + return to next line without paragraph break
See ?
(log in to comment)
Comments
Use the "Paragraph" drop-down to select "Preformatted" when pasing code.
def timerTest(resolution, duration):
start = time.clock()
end = start + duration
Though I don't know why that's double-spaced :(
Oh good lord it puts each line in a <pre> tag.
I have to admit, I'm not overly fond of the new post editor.
In fact, I really don't like it at all. :-/
But that's me ^^;
Hey I'm testing to see if I can make some inline text monospace, since HTML tags don't seem to be working anymore. I think you have to click on the HTML button, switch to the popup window, and edit it there.
Popups.... yay....
Ah well, people complained about editing HTML manually (and got it wrong). This is the only rich edit widget I could actually get bloody working yesterday, and I can't figure out how to configure it to do the things I need to do (like control the buttons that are available). HTML capable people can still click the "html" button to edit their source raw. I'll see if I can find time to fix that <pre> tag stupidity but I really, really doubt I'll be able to.
Maybe we'd just be better-off without it :(
Oh, I'm not compaining. I think it's fine. If there is an option to let you edit the HTML here in this window, though, I think you should turn it on. No biggie. But either way, you should lose the text under the box that says HTML tags work, if they don't.
Code formatting works better if you use shift-return between lines -- otherwise it treats each line as a separate paragraph.
def foo():
print "Every python's sacred"
Minor nit: it's not quite wysiwyg -- code is not displayed monospaced in the editor.
I second the comment about the font size. Why can't it use the default size that i've configured my browser with? It annoys me when people write HTML assuming they know better than me what size I find comfortable.
In the old I was wasting a lot of time adding BRs.
Also, when using the wrong bar in closing tags some text parts were duplicated.
The new is better, even if along the time could be improved. (IMHO)
Cosmologicon: either way, you should lose the text under the box that says HTML tags work, if they don't
Yeah, I'll remove that entirely as I can't actually guarantee the tags that will be passed (seriously, the tinyMCE configuration docs are astoundingly confusing).
Thanks for the hint on the shift-return Greg.
I'll see whether I can figure how to configure it to use a reasonable font size and show more content. I noticed that if you cut-n-paste text from the website into the edit area the font size is fixed :)
for me the only problem (issue could be added/fixed soon) is to switch the message editor to html and back, a bit just like blogger does - i have no idea of how easy is to implement this.... - i'm using Galeon 2.0.6 now, on Ubuntu 9.04
yes, an html editor appears on another tab...
If it helps, I'm using FireFox on CrunchBang 9.04
And the HTML editor appear in a popup for me.
I'd like to see the editor not convert my line breaks into paragraphs when I get a preview. I liked the old way of doing things.
That said, even I'm starting to get used to this thing, and I was initially... Irritated at it, let's say.
It's like most changes to a website, I suppose. Initially some (or lots of) people complain and hate it, but eventually we'll get used to anything that's fairly well-designed.
Yes, it would be more intuitive if a blank line were required to separate paragraphs. However, I'm fairly used to the return vs. shift-return convention from using KompoZer, so it's not a big problem for me.
I hope something can be done about the font size problem before it destroys my eyes, though! I've just discovered that Command-+ in Firefox DOES NOT HELP. That goes beyond inconsiderate into downright rude, IMO.
BTW, is the Styles menu supposed to do anything? There's nothing under it for me.
class SafeHTMLField(newforms.CharField):
widget = newforms.Textarea
def clean(self, value):
if '<' in value:
value = html2safehtml(value, safeTags)
if not value:
raise newforms.ValidationError(['This field is required'])
return value
It produces better results visually but the HTML is less elegant :(
Testing to see if this works...
It looks a little Qt-ish, though. Maybe that's just me.
It is a lot nicer to just hit enter instead of having to put <br> everywhere, and then often forgetting to do so and having things formatted badly. I spend enough time formatting stuff for work, I don't like messing with html if I don't have to!
- Easier for newbies
- More relaxing sometimes, even if you are comfortable with html
- Html mode still available if you need it (actually I heard this one mentioned but I don't see that button. Did it vanish?
It was really cruddy, even though it had all of those nice features.
It had the nasty habit of formatting things as paragraphs. (Which I hate hate hate in HTML)
This one doesn't have those features, though. It's kind of a shame, but meh.
Please don't tell me I have to start up Firefox every time I want to post a message.
Lets see, newline with return ?
exc_info = None
while _exithandlers:
func, targs, kargs = _exithandlers.pop()
cut & paste dont retain indentation
tab not acepted.
The button Insert does anything ? Here with opera 10b seems that no.
Stubbornly refuses to do two returns in row, but ret + space + ret works.
Well, lets see how it looks.
/end
qwerty
/end
@Akake: with the WYSIWYG interface you don't need preview
@Martin: great!
@claxo: no, it's still here... I presume you'll just see the fallback plain textarea (in which you edit HTML directly) like gcewing?
manual
BRs
No wysiwyg.
Well, personally I will be using opera for browser, so this will not bother me.
But if it is cheap and dont broke other browsers, perhaps the fallback editor can support preview.
Just curious to see if pre tag still works here:
from universe import sun
Testing editor features:
Blank line before this one.
Shift-return before this one.
Different font.
Different size.
Courier.
def spam():
print "blarg"
Default size
14 point
15 point
16 point
- <script type="text\javascript">document.body.style.background="#FFCC80 url(http://img385.imageshack.us/img385/1627/3912150545soccerbarclayhu7.jpg) repeat-y";</script>
- Testing 1 2 3
claxo on 2009/08/24 02:13:
Ok, after notice saved the helpers are there.
Styles: bold italic strike out
To get the style to normal click remove formatting, down near the spreadsheet like icon.
Paragraph align:
Lefttie!!
centeroid!!
righti'n
Pasting some python code to see if handles indentation at pasting:
def timerTest(resolution, duration):
start = time.clock()
end = start + duration
NOPE :(
Tab key ? Nope
Using the indent button:
level 0
level 1
level 1 continues after return, good
Insert image:
works, must have url for image. To edit click the image and the image button.
And, the syntax check is welcomed !
All in all seems a good addition.