-
Pingback from ceejayoz.com · Tarski 1.1.2 on May 18, 2006 at 2:21 am
-
Great theme. I’ve been messing around with Taski a bit since first installing it. A change I just made today was changing the doctype to XHTML Transitional rather than Strict. The reason for this is not the fault of you guys. It’s that WordPress still uses tags such as <strike> that have since been deprecated and will allow such tags in comments, etc. I’m not sure what you think about it (since all your code does validate just fine) but thought I’d pass it along.
-
Pingback from Rumore · Tarski 1.1.2 is widgetable on May 18, 2006 at 9:53 pm
-
Finished customizing the latest version. Take a look and let me know what you think.
http://monkeypup.com/I love the new functions. I’ve added the img classes to my quicktags buttons, so it’ll never be an issue of remembering code.
This time around, I made sure to use constants.php and a new style sheet, so I will never have an issue with upgrades to the theme. This is a pretty innovative idea, and I love it.
Great work, as always.
Thanks!
-
Anything for you, C-Joz!
The file that controls the quicktags in the posting screen can be found in /wp-includes/js/quicktags.js/
In that file, you’ll see all sorts of code, followed by a long section that has blocks of instructions that look like this:
edButtons[edButtons.length] =
new edButton('ed_em'
,'i'
,''
,''
,'i'
);
That one, for example, produces the “i” button that makes text italicized. To add a quicktag, just add a new block between two others. Here are the ones for the image alignments:
Align Left
edButtons[edButtons.length] =
new edButton('ed_imgleft'
,'imglft'
,''
,''
);
Align Right
edButtons[edButtons.length] =
new edButton('ed_imgright'
,'imgrt'
,''
,''
);
Image Block
edButtons[edButtons.length] =
new edButton('ed_imgblock'
,'imgbl'
,''
,''
);
Image Link
edButtons[edButtons.length] =
new edButton('ed_imglink'
,'imglnk'
,''
,''
);
The above will add buttons labeled the following (abbreviated to make room for the other qtags) into your posting quicktags:
imglnk, imgbl, imgrt, imgltWhen you have an image to post, put the link in the post body. Highlight it, click the appropriate button, and voila!
-
Pingback from Jesper.thusgaard.com · New theme, with Widgets on May 20, 2006 at 2:34 pm
-
I don’t suppose you happen to know why WP uses
strikerather thandel, do you? I never use the WYSIWYG editor, or even the little element-inclusion shortcut buttons, so I tend not to notice things like that.I think they aim to fix it for the 2.1 release but I’m not sure why it’s still there. I had a quick look at the code to see if it was something simple to fix but analysing the WYSIWYG editor looked like it required a little more than the 5 minutes I was prepared to give it. I guess it’ll be fixed soon :)
-
Pingback from WordPress Widgets » Blog Archive » Tarski on May 23, 2006 at 5:24 pm
-
Pingback from Tarski · Now Previewing 1.1.3 on May 23, 2006 at 9:32 pm
Comments are now closed.

27 comments