Skip to content
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

Image Block: Use the figure wrapper for images with wide/full alignment #1668

Merged
merged 1 commit into from
Jul 3, 2017

Conversation

youknowriad
Copy link
Contributor

closes #1665

@youknowriad youknowriad added the [Feature] Blocks Overall functionality of blocks label Jul 3, 2017
@youknowriad youknowriad self-assigned this Jul 3, 2017
@jasmussen
Copy link
Contributor

Looks like it's working for me 👍 👍

screen shot 2017-07-03 at 16 16 25

@youknowriad youknowriad merged commit 3840323 into master Jul 3, 2017
@youknowriad youknowriad deleted the update/use-wrapper-for-wide-alignments branch July 3, 2017 14:49
@ellatrix
Copy link
Member

ellatrix commented Jul 3, 2017

How about always adding the figure tag? I'm not sure why the alignment should cause different semantic tags.

@pfefferle
Copy link
Member

@iseulde this might be problematic with alignleft and alignright

@ellatrix
Copy link
Member

ellatrix commented Jul 3, 2017

Why?

@pfefferle
Copy link
Member

because they should be inside the normal text float and should not break the paragraph

@ellatrix
Copy link
Member

ellatrix commented Jul 3, 2017

It will still be floated correctly? I'm not sure if I understand the concern. Also, these cannot be inserted inside a paragraph, they're blocks.

@mtias
Copy link
Member

mtias commented Jul 7, 2017

@iseulde I agree with always using figure, it should simplify the logic in save.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Images with alignfull and alignwide shouldn't be enclosed by p
5 participants