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

Alignment buttons act on non-selected paragraphs #538

Closed
jameshoward opened this issue Apr 27, 2017 · 1 comment
Closed

Alignment buttons act on non-selected paragraphs #538

jameshoward opened this issue Apr 27, 2017 · 1 comment
Labels
bug:core Bug in core (trumbowyg.js)
Milestone

Comments

@jameshoward
Copy link

jameshoward commented Apr 27, 2017

Trumbowyg version: 2.5.1
Browser: Chrome 58.0.3029.81 on OSX

Steps to reproduce:
(Note: This can be done on the demo editor on https://alex-d.github.io/Trumbowyg/)

  1. Enter 3 paragraphs of text (Or paste into the code editor: <p>Line 1<p><p>Line 2</p><p>Line 3</p>)
  2. Select line 2 and line 3.
  3. Click the align center button.
  4. Click the align right button.

Expected: Line 1 remains left aligned, 2 & 3 are centered and then aligned right.
Actual: Line 1 remains left aligned initially, while 2 & 3 are centered but then also aligns right when the align right button is clicked.

@Alex-D Alex-D added the bug:core Bug in core (trumbowyg.js) label Apr 28, 2017
@Alex-D
Copy link
Owner

Alex-D commented Nov 28, 2018

Should be fixed in future v3 (See #875 for more details).

I close this to keep issues clean since this issue is old with no activity and no trivial fix.

@Alex-D Alex-D closed this as completed Nov 28, 2018
@Alex-D Alex-D added this to the v3.0 milestone Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:core Bug in core (trumbowyg.js)
Projects
None yet
Development

No branches or pull requests

2 participants