Friday, March 09

Blog

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:

  1. 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.
  2. 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.
    1. That will look like this. At least, it does if you do it in the middle of an ordered list.

  3. Use the [ quote ] bbtag.
    That looks like this.
    It also has the helpful feature that you can so
    So and so wrote:

    and it comes out as

    So and so wrote:

    Blah blah blah.

Using bbtags means you have to enable bbtag processing for your post... And right now, you can't do that. (Yes, that will be fixed very soon.)

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.

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.

2.6 milliseconds?  I think we'll survive. wink

Posted by: Pixy Misa at 10:03 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 306 words, total size 2 kb.

Comments are disabled. Post is locked.
47kb generated in CPU 0.0191, elapsed 0.1252 seconds.
54 queries taking 0.1153 seconds, 356 records returned.
Powered by Minx 1.1.6c-pink.