First time here? Check out the FAQ!
1

Bug: The Preformatted Button Isn't Inserting pre tags

For my last post the pre-formatted text button didn't work, but when I typed in <pre>MY TEXT HERE</pre> it worked just fine. It would be nice if the horizontal scroll bar didn't appear as I pasted from a standard-sized terminal.

http://askbot.org/en/question/171/feature-enhancement-is-spellcheck-on-the-roadmap#194

Evgeny's avatar
13.2k
Evgeny
updated 2010-11-10 11:57:34 -0600
ccanonc's avatar
363
ccanonc
asked 2010-10-17 20:30:34 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

sorry, I did not understand this in the beginning. By "did not work" do you mean that you see the unexpected scroll bar?

I think the scroll bar appearance probably depends on the default browser styles. The preformatted text window does appear narrower than the answer area, so maybe that's the reason... Probably it warrants some improvement to the style sheet. Could you identify your browser/OS? I'll try to find a similar computer and check this out.

Evgeny's avatar
13.2k
Evgeny
updated 2010-10-18 19:39:39 -0600, answered 2010-10-18 19:32:11 -0600
edit flag offensive 0 remove flag delete link

Comments

No need to apologize, thank you for looking at this. They are two separate issues: 1) Insertion Order Of 2nd Image In 2nd Edit. 2) No auto-sizing horizontally. Since I pasted from a standard terminal size, I think it shouldn't need horizontal scrolling when displayed IMHO.
ccanonc's avatar ccanonc (2010-10-18 20:15:49 -0600) edit
I can't remember which computer I was using at the time, sorry. :(
ccanonc's avatar ccanonc (2010-10-18 20:16:41 -0600) edit
Right now I have three browsers open, and I can think of two more possibilities. =) Probably Firefox though.
ccanonc's avatar ccanonc (2010-10-18 20:17:55 -0600) edit
Suggestion: When a link is added, I think the askbot-markup-syntax should keep the link and its display text together. While the separation into footnotes/citations is nice, I think it can lead to confusion during quick edits.
ccanonc's avatar ccanonc (2010-10-19 09:23:47 -0600) edit
Good idea, I'll put it in the code soon. Actually markdown allows that but the editor uses the insertion format that separates the link and the url.
Evgeny's avatar Evgeny (2010-10-19 12:39:01 -0600) edit
add a comment see more comments