Closed (fixed)
Project:
Paragraph Auto Directionality
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 10:04 UTC
Updated:
25 Jan 2009 at 18:50 UTC
I told you that in person, but I'll write it here too, for others:
I believe the module should have an Admin panel with 2 text fields:
1. let the user enter a list of tags the module should affect, like: "p span div pre" etc.
2. let the user add a list of chars to be skipped, something like: "0123456789()*,/;" etc.(with a default set of course) and add a regex with a loop to match for them until it reaches a char that is not in there, and then start the directionality check.
Comments
Comment #1
z.stolar commentedVersion 6.x-1.2 improves the directionality determination, so any non-word (including spaces and punctuations) and digits, in the beginning of a line, are ignored, and only the first alphabetic character is checked.
Future improvements might include more directionality influenced tags, but for the moment, P is the only affected one.
Comment #2
z.stolar commentedLatest CVS version includes support for more block level elements.
More to come.
Comment #3
z.stolar commented