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

Added custom font size option #729

Merged
merged 4 commits into from
Apr 9, 2018
Merged

Added custom font size option #729

merged 4 commits into from
Apr 9, 2018

Conversation

blufish
Copy link
Contributor

@blufish blufish commented Mar 3, 2018

History is not working here. Would not work using the trombowyg exexCmd function, so used jQuery instead.

History is not working here. Would no work using the trombowyg exexCmd function, so used jQuery instead.
@Alex-D
Copy link
Owner

Alex-D commented Mar 3, 2018

Remove commented code and console.log

@blufish
Copy link
Contributor Author

blufish commented Mar 7, 2018

Updated

hasIcon: false
};
trumbowyg.addBtnDef(freeSizeButtonName, freeSizeBtnDef);
dropdown.push('fontsize_custom');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since its already assigned, i would use freeSizeButtonName:

dropdown.push(freeSizeButtonName);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll give this a shot

}
},
function (values) {
var text = trumbowyg.range.startContainer.parentElement

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you missed ;

Copy link
Owner

@Alex-D Alex-D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make changes suggested by @pavelloz ?

Thanks :)

@blufish
Copy link
Contributor Author

blufish commented Apr 5, 2018

This works, I added translations too.

Copy link
Contributor Author

@blufish blufish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

hasIcon: false
};
trumbowyg.addBtnDef(freeSizeButtonName, freeSizeBtnDef);
dropdown.push('fontsize_custom');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll give this a shot

@Alex-D Alex-D merged commit bb82491 into Alex-D:develop Apr 9, 2018
@Alex-D
Copy link
Owner

Alex-D commented Apr 9, 2018

Thanks! :)

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

Successfully merging this pull request may close these issues.

3 participants