Primeng: More options for Editor

Created on 7 May 2018  路  4Comments  路  Source: primefaces/primeng

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.

enhancement

Most helpful comment

Added all available options to p-editor.

All 4 comments

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

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

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

Added all available options to p-editor.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jisqaqov picture jisqaqov  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments

Helayxa picture Helayxa  路  3Comments

KannanMuruganmony picture KannanMuruganmony  路  3Comments

garethlewis picture garethlewis  路  3Comments