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

Add option to disable or change the resize property. #50

Merged
merged 2 commits into from
Mar 12, 2014

Conversation

emagnier
Copy link
Contributor

E.g.:

$("#target-editor").markdown({
  resize: 'vertical',
})

It makes also possible to prevent appending this property in the markup by specifying an empty string (or null, false, undefined...).
This is very handy in case we want to style it directly from the CSS (resize direction, min/max-height, etc.) and avoid the usage of !important.

I also took in consideration the width, height and preview options/feature, so they play nicely together.

Ref. #26

toopay added a commit that referenced this pull request Mar 12, 2014
Add option to disable or change the resize property.
@toopay toopay merged commit 9a4baa6 into refactory-id:master Mar 12, 2014
@toopay
Copy link
Member

toopay commented Mar 12, 2014

Thanks!

@emagnier emagnier deleted the resizable branch May 14, 2014 02:40
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.

2 participants