On 3/16/10, Martin <[email protected]> wrote:
> Finally ... we will get an app store!
> You have a shop anyway, so why not. Take 30% of the price if you sell
> one of my skins ...
You are kidding aren't you? :) This could open the door to a
stampede! Of course it might encourage people to contribute (and
maintain) plugins!
> From my wishlist:
> * a smoother integration of multipage editing (using "count" or
> similar)
That's on my list to integrate into the core. The hardest part will be
the syntax. How about adding a multipage=50 parameter to a search
function and have it automatically generate prev & next links? That
might not be too hard actually...
> * having the chance to add "id" and "class" names to every element
> including ul/ol/li
This should be easy to implement. In fact, I'll add to the next
release. For the syntax you would have to use regular html of course,
like
<ul class=whatever><li id=something>test</li></ul>
You just need to define the attrs you want to allow, and expand the
styles markup. Here's what I just now put into the core.
engine.php:
$BOLTattrs['ul'] = 'id,class,style';
$BOLTattrs['ol'] = 'id,class,style';
$BOLTattrs['li'] = 'id,class,style';
markups.php
MarkUp('fmt', 'style', '/<(div|p|span|a|ul|ol|li)( .*?)?>/e',
"BOLTMstyles('$1', '$2', false)");
MarkUp('fmt', 'styleend', '/<\/(div|p|span|a|ul|ol|li)>/e',
"BOLTMstyles('$1', '', true)");
>From my initial tests, it seems to work ok.
> * getting ready for html5
Let me know if you have anything special in mind.
> The last two points may require to rethink the use of shortcuts for
> html attributes.
Right, but the best answer is to allow both, as we already do. To add
some new html tag to BoltWire, we simply reset this default value:
$BOLTattrs['html'] =
'i,b,u,s,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,sub,sup,big,small,strike,strong,em,comment,br,nobr,wbr,fieldset,legend';
To include the new tag. If we want to add some fancy shortcut, we just
create the custom markup rule.
> I am happy to move on and thank you very much for your work.
Thank you Martin! My pleasure...
Cheers,
Dan
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.