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

More options for Editor #5695

Closed
dennyak47 opened this issue May 7, 2018 · 4 comments
Closed

More options for Editor #5695

dennyak47 opened this issue May 7, 2018 · 4 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@dennyak47
Copy link

there are many cases that would use options in quill, such as:

var options = {
debug: 'info',
modules: {
toolbar: '#toolbar'
},
placeholder: 'Compose an epic...',
readOnly: true,
theme: 'snow'
};
var editor = new Quill('#editor', options);

but in p-editor, options is defined afterViewInited and cannot be modify afterwards.

@jc-white
Copy link

jc-white commented May 7, 2018

You might want to look into using ngx-quill, which can take a config object.

@dennyak47
Copy link
Author

Yes, ngx-quill is a solution. I can use it perfectly.

@vasyl-trs
Copy link

Any updates on this one? I don't want to include another library and apply styles again.

@cagataycivici cagataycivici self-assigned this Dec 26, 2018
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Dec 26, 2018
@cagataycivici cagataycivici added this to the 7.0.4 milestone Dec 26, 2018
@cagataycivici cagataycivici changed the title p-editor has no @input for setting options in quill More options for Editor Jan 3, 2019
@cagataycivici
Copy link
Member

Added all available options to p-editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

4 participants