Friday, March 09
Off The Record
One of the shortcomings of the editor I'm using for Minx - a shortcoming that is mirrored in every open-source and commercial editor I've looked at - is that there is no support for blockquotes. This sucks, rather, because blockquotes are very commonly used in both blogs and forums, exactly Minx's target market.
Now, I have source code to the editor, and it has hooks for adding custom buttons and tags, but it doesn't look trivial to make it work properly.
Meanwhile, you have three options:
I wonder what would happen to performance if I made it the default. Well, I can soon find out.
Before:
After:
2.6 milliseconds? I think we'll survive.
Comments are disabled.
Post is locked.
One of the shortcomings of the editor I'm using for Minx - a shortcoming that is mirrored in every open-source and commercial editor I've looked at - is that there is no support for blockquotes. This sucks, rather, because blockquotes are very commonly used in both blogs and forums, exactly Minx's target market.
Now, I have source code to the editor, and it has hooks for adding custom buttons and tags, but it doesn't look trivial to make it work properly.
Meanwhile, you have three options:
- The least attractive: Use the Edit HTML option in the editor and stick the blockquote tags in manually. The editor will preserve them; it just doesn't have a feature to put them in for you.
Like so.
- Use the indent button in the editor to mark your quotes. This will work fine, but doesn't pick up your CSS style settings for blockquotes.
- That will look like this. At least, it does if you do it in the middle of an ordered list.
- Use the [ quote ] bbtag.
That looks like this.
It also has the helpful feature that you can soSo and so wrote:
and it comes out as
So and so wrote:
Blah blah blah.
I wonder what would happen to performance if I made it the default. Well, I can soon find out.
Before:
Hello Pixy Misa, you are logged in to Minx.
Processing 0.09, elapsed 0.0975 seconds.
36 queries taking 0.018 seconds, 127 records returned.
Page size 92 kb.
Powered by Minx 0.93.05b.
Processing 0.09, elapsed 0.0975 seconds.
36 queries taking 0.018 seconds, 127 records returned.
Page size 92 kb.
Powered by Minx 0.93.05b.
After:
Hello Pixy Misa, you are logged in to Minx.
Processing 0.1, elapsed 0.101 seconds.
36 queries taking 0.0178 seconds, 127 records returned.
Page size 92 kb.
Powered by Minx 0.93.05b.
Processing 0.1, elapsed 0.101 seconds.
36 queries taking 0.0178 seconds, 127 records returned.
Page size 92 kb.
Powered by Minx 0.93.05b.
2.6 milliseconds? I think we'll survive.
Posted by: Pixy Misa at
10:03 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 306 words, total size 2 kb.
46kb generated in CPU 1.1304, elapsed 1.0637 seconds.
54 queries taking 0.4398 seconds, 356 records returned.
Powered by Minx 1.1.6c-pink.
54 queries taking 0.4398 seconds, 356 records returned.
Powered by Minx 1.1.6c-pink.









