Major Update-me-do

From: af (CAER)17 Oct 2012 16:31
To: ALL36 of 113

:( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( 

From: af (CAER)17 Oct 2012 16:31
To: ALL37 of 113

$) $) $) $) $) $) $) $) $) $) $) $) $) $) $) $) $) $) 

:p :p :p :p :p :p :p :p :p :p :p :p :p :p :p :p :p :p :p :p 

From: af (CAER)17 Oct 2012 16:37
To: Matt 38 of 113

You might want to make it a little clearer what the 'body p' thing at the bottom of the editor is.

From: Matt17 Oct 2012 18:25
To: af (CAER) 39 of 113

That's another CKEditor thing. I can turn it on or off and via plugins change the name of some of the nodes to be more descriptive, like the youtube plugin does. Can't seem to do it for emoticons though! :C

From: af (CAER)17 Oct 2012 18:28
To: Matt 40 of 113

you could effectively 'turn it off' with some CSS, and maybe just show it for 'advanced users' or something. At the least, adding some kind of label to say what it is/does would probably reduce confusion.

From: 99% of gargoyles look like (MR_BASTARD)17 Oct 2012 19:39
To: af (CAER) 41 of 113

Is there a way to permanently disable the visual editor? clicking the 'HTML' button seems to put it in what I guess is 'source view' mode (with weird linebreaks), and 'Courier New' as the font, which ... ugh.

 

Not so much weird line breaks as some bastardised paragraphing.

From: af (CAER)17 Oct 2012 19:47
To: 99% of gargoyles look like (MR_BASTARD) 42 of 113

bad_wrap.png

 

That's in Safari 6 on OS X.

From: af (CAER)17 Oct 2012 19:49
To: ALL43 of 113

Also, having attempted to use contentEditable for my Soda thing, I appreciate the difficulty in making it work right. It's why I gave up and used a plain textarea instead, and will do so when I eventually get around to rewriting Forj.

From: Matt17 Oct 2012 19:55
To: af (CAER) 44 of 113

Firefox 14 15 16.01 on Windows 8.

It's a OSX / Safari thing the word-wrapping or lack there of.

From: Matt17 Oct 2012 19:57
To: af (CAER) 45 of 113

That's your first mistake, trying to write your own. Not even contentEditable works reliably across all browsers. CKEditor has lots of browser sniffing to turn things on and off and provide work-arounds. I certainly wouldn't want to write it.

From: af (CAER)17 Oct 2012 20:12
To: Matt 46 of 113

It does it in Chrome too, so possibly it's a WebKit thing.

 

ckeditor_wrapping_ff.png

From: af (CAER)17 Oct 2012 20:14
To: af (CAER) 47 of 113

ckeditor_wrapping_opera.png

From: af (CAER)17 Oct 2012 21:18
To: Matt 48 of 113

It's amazing the faffing about you have to do just to get something as seemingly simple as the same plain text out of different browsers, what with all their various interpretations of how the Enter key should be handled :|

From: Dave!!22 Oct 2012 17:29
To: af (CAER) 49 of 113

I'm still missing the standard text/HTML input option.

I hate single enter for a new paragraph! I always end up with double-spacing everywhere due to just hitting Enter twice without looking. :(

From: Matt22 Oct 2012 18:07
To: Dave!! 50 of 113

There is no standard text / HTML option any more. There is a button to view the HTML source of the editor but you still post entirely in HTML.

EDITED: 22 Oct 2012 18:07 by MATT
From: 99% of gargoyles look like (MR_BASTARD)22 Oct 2012 19:35
To: Dave!! 51 of 113

+1

h8ting it :(

From: Matt22 Oct 2012 19:37
To: 99% of gargoyles look like (MR_BASTARD) 52 of 113

Is it just the enter key thing you're not liking?

From: 99% of gargoyles look like (MR_BASTARD)22 Oct 2012 19:43
To: Matt 53 of 113

Ummm, what else is there? I'm used to entering twice (nj) for new paragraph. This does it differently. And it would make sense getting used to, except every other forum that I frequent still does it the old way.

There's also other stuff about the editor that I'm not loving. Just now I used a spoiler tag and it covers the text even in the editor, so you can't edit it.

Not to mention the retarded spell-check (but we've covered that already).

Is there a good reason for using this crap over TinyMCE?

From: 99% of gargoyles look like (MR_BASTARD)22 Oct 2012 19:51
To: Matt 54 of 113

And this might be a Safari problem (only just noticed) but when you select text to add a link, click the link icon and paste, the link gets added to the text box because the focus doesn't change to the dialogue. You have to select the dialogue entry again. Eeef!

From: Matt22 Oct 2012 20:02
To: 99% of gargoyles look like (MR_BASTARD) 55 of 113

I'll have a look at the paragraphs thing.

 

I dumped TinyMCE for this crap because this is better and easier to develop for (IMO of course) and more functional.

 

Not sure about the hyperlink thing.