WB Markitup
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Wes Baker
Text Direction
General
Andrew L Philpott
|
Posted: 17 November 2011 03:06 PM |
|
|
|
Is there any way to change the text direction on a WB Markitup field? I’m working on setting up an Arabic version of a site and I haven’t found a way to change it to rtl.
|
|
|
wesbaker
|
Posted: 17 November 2011 05:01 PM |
# 1
|
|
Developer
|
Hmm, there isn’t a way at the moment, but I don’t think it’d be that hard to add. How soon would you need it?
|
|
|
Andrew L Philpott
|
Posted: 17 November 2011 05:23 PM |
# 2
|
|
|
I’d need it pretty soon. If you don’t have time to add it, I can see if I can figure it out.
|
|
|
wesbaker
|
Posted: 28 November 2011 12:26 PM |
# 3
|
|
Developer
|
Andrew, did you figure it out? If not, I should be able to get this in by Wednesday.
|
|
|
Andrew L Philpott
|
Posted: 28 November 2011 12:39 PM |
# 4
|
|
|
Hey, Wes. I haven’t taken a look at it yet. The project was handed off to another developer, but I don’t think he’s had a chance to look at it yet either. If you can get it ready by Wednesday, that would be awesome. Don’t feel like you have to, though.
|
|
|
wesbaker
|
Posted: 28 November 2011 10:10 PM |
# 5
|
|
Developer
|
I went ahead and added both the ability to change the text direction and show the file chooser button. Let me know how it works for you.
|
|
|
Andrew L Philpott
|
Posted: 29 November 2011 12:15 PM |
# 6
|
|
|
Awesome, thanks! Just one little issue - it doesn’t look like setting the text direction makes any changes to the textarea that gets displayed. We made a quick mod to it so that it gets a dir attribute applied to it.
|
|
|
wesbaker
|
Posted: 29 November 2011 12:34 PM |
# 7
|
|
Developer
|
Doh, yeah I see the problem. I’ve uploaded a version that passes the direction to the textarea. One question though, does Markitup behave like you’d expect?
|
|
|
Andrew L Philpott
|
Posted: 29 November 2011 01:01 PM |
# 8
|
|
|
Cool, thanks for the quick fix. Markitup seems to be working fine. I haven’t noticed any issues.
|
|
|
alkalkvok
|
Posted: 10 December 2011 06:33 PM |
# 9
|
|
|
–
|
|
|