Ask Your Question
1

Bug: The Preformatted Button Isn't Inserting pre tags

asked Oct 17 '10

ccanonc gravatar image ccanonc
313 3 10

updated Nov 10 '10

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

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

1 Answer

Sort by ยป oldest newest most voted
1
ccanonc has selected this answer as correct

answered Oct 18 '10

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

updated Oct 18 '10

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.

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 (Oct 18 '10)
I can't remember which computer I was using at the time, sorry. :( ccanonc (Oct 18 '10)
Right now I have three browsers open, and I can think of two more possibilities. =) Probably Firefox though. ccanonc (Oct 18 '10)
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 (Oct 19 '10)
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 (Oct 19 '10)
see 1 more comment

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Oct 17 '10

Seen: 60 times

Last updated: Nov 10 '10