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

new line with Enter key do not work #25

Closed
Portekoi opened this issue Jan 8, 2019 · 3 comments
Closed

new line with Enter key do not work #25

Portekoi opened this issue Jan 8, 2019 · 3 comments

Comments

@Portekoi
Copy link

Portekoi commented Jan 8, 2019

Maybe I have miss something but when I use Enter key to add a new line, it's not working :

image

Is there an option to enable this?

@instance-oom
Copy link
Owner

The markedjs library has one option can enable this feature. Unfortunately, this component does not yet provide the ability to set this option.
But I will add this as soon as possible.

instance-oom pushed a commit that referenced this issue Jan 8, 2019
@instance-oom
Copy link
Owner

Please use 1.1.11. Then setting the markedjsOpt on the options.
e.g.

public options: MdEditorOption = {
  markedjsOpt: {
    breaks: true
  }
};

@Portekoi
Copy link
Author

Portekoi commented Jan 8, 2019

Awesome, Thank you !

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

No branches or pull requests

2 participants