-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Resize and align images #861
Comments
@BjoernRave Actually, this explanation is not enough to know exactly what you want. Whether you want to handle image size or alignment in a layer popup, or whether you want to add markdown syntax, I need a detailed explanation. First of all, as I'm expecting, you can use html in the Markdown editor, and use the style attribute to handle image size and alignment. Did you want this feature? <img src="..." style="width:50%;height:50%;float:right;" /> |
yes, I would like to be able, that when I add an image to the wysiwyg editor, that I can resize and align the image inside the editor |
+1 |
1 similar comment
+1 |
Would love to have this for the WYSIWYG editor! For the markdown side, perhaps a macro would work? Something like that used in remark.js may be helpful. From the linked issue: remark.macros.scale = function (percentage) {
var url = this;
return '<img src="' + url + '" style="width: ' + percentage + '" />';
}; Usage:
Output: <img src="image.jpg" style="width: 50%" /> |
+1 |
Has anyone found a workaround for now for this problem? |
同问,希望能解决一下这个问题啊! |
I would like to be able to resize and align images
The text was updated successfully, but these errors were encountered: