-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support alignment #21
Labels
Comments
I agree some setting for the default syntax (nolink, detail, alignment, ...) should be added to implement this correctly. The plugin now supports other media (non-images) as well. Ideally PDFs shouldn't get any alignment. PR welcome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The plugin seems to have no support for aligning the pasted image.
A simplistic implementation could use the media manager's alignment settings similar to what
dw_mediamanager_item_select
does inlib/scripts/media.js
, e.g.:But I think it would be cleaner to make alignment a function of
dw_mediamanager
with its default settings accessible in the DokuWiki configuration and additional settings for the imgpaste plugin.The text was updated successfully, but these errors were encountered: