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

Justify button #46

Closed
Gaetan25 opened this issue Apr 23, 2014 · 5 comments
Closed

Justify button #46

Gaetan25 opened this issue Apr 23, 2014 · 5 comments

Comments

@Gaetan25
Copy link

Is it possible to add Justify text buttons in the toolbar ?

@Waxolunist
Copy link
Owner

If https://github.com/Edicy/wysihtml5 supports justify as a command it is possible. I will have a look into it.

@Waxolunist Waxolunist added this to the v0.3.0 (wip) milestone Apr 30, 2014
@Waxolunist Waxolunist self-assigned this Apr 30, 2014
@Waxolunist Waxolunist modified the milestones: v0.3.1 (current development), v0.3.0, v0.4.0 (not planned yet) Jun 11, 2014
@kasoban
Copy link

kasoban commented Jul 14, 2014

It does, you can customize your toolbar with buttons that use

data-wysihtml5-command="justifyRight"

or of course justifyLeft or justifyCenter. These commands wrap the selection in a div with

class="wysiwyg-text-align-right"

this works out of the box with your current demo, but has no visual effect since the stock wysihtml5 CSS is not applied there.

@Waxolunist Waxolunist modified the milestones: v0.3.3 (current development), v0.4.0 (not planned yet) Jul 16, 2014
@Waxolunist
Copy link
Owner

I have not tested applying the stock css, but will in the next version.

@Waxolunist Waxolunist modified the milestones: 0.3.4, v0.3.3 (current development) Sep 8, 2014
@Waxolunist
Copy link
Owner

Provide documentation for adding additional commands.

@Waxolunist
Copy link
Owner

The development of bootstrap3-wysiwyg will be continued in a new repo: https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg
@schnawel007 and @Waxolunist are bundling development forces for an even better editor.
This issue will be continued here: bootstrap-wysiwyg/bootstrap3-wysiwyg#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants