(I haven't tested this code.)
Or maybe I could override this shortcode on my own site. However, it seems to me that even in this case, the Nextgen Editor erases these efforts.
When in Expert Mode, if I create a div in shortcode with a dir attribute, save, and then switch to Nextgen Editor, and save again, the dir attribute disappears. So it seems that to have a hope of using this editor and having such a shortcode, there would first have to be some kind of support built in to the Nextgen Editor.
Is this correct?
It would be very useful for those of us who work with RTL languages to have the ability to set the
dir
attribute of a div element.At first glance it seems easy enough to add to the shortcode core: In this file, instead of
you could have
(I haven't tested this code.) Or maybe I could override this shortcode on my own site. However, it seems to me that even in this case, the Nextgen Editor erases these efforts.
When in Expert Mode, if I create a div in shortcode with a dir attribute, save, and then switch to Nextgen Editor, and save again, the dir attribute disappears. So it seems that to have a hope of using this editor and having such a shortcode, there would first have to be some kind of support built in to the Nextgen Editor. Is this correct?