On Sun, Mar 29, 2009 at 9:22 AM, Markus <[email protected]> wrote:
>
> Hi,
>
> Am I right that BoltWire adds an empty line after a code block?
Technically, no. But if there is a line return after the </code>, it
will be preserved. We could change that behavior, by simply changing
markups.php line 18 to
MarkUp('pre', 'code', '/<code>(.*?)<\/code>\n?/se',
'BOLTMcode("$1", "code")'); // <code>
> If so, I'd rather suggest not to add it because it is easier to create
> an empty line than to remove it.
Agreed.
> Just to think about: Would it be nice to be able to configure the size
> of the edit text field from within site.config? I assume the majority
> of users would prefer more than 16 rows by default.
This is certainly an option. Another is to do it in code.snippets (as
that would not require any core code change).
Just put in code.snippets
cols: 50
rows: 30
Then change the forms to
rows: $$rows
cols: $$cols
I'd probably prefer to keep the core (default) simple. But an advanced
user could do this easily (not tested). The other option of course is
just to edit action.edit
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
-~----------~----~----~----~------~----~------~--~---