How do I create a Quill editor without a toolbar?
You can set theme bubble
to show medium-like editor instead of always visible version;
var quill = new Quill('#editor', {
theme: 'bubble' // Specify theme in configuration
});
Examples (both bubble and snow (default) themes)
A falsy value for toolbar should be correct:
var config = {
"theme": "snow",
"modules": {
"toolbar": false
}
};
Here's a bug report for tracking.
You can take two different approaches. The first one is just pass in the options a false value.
var config = {
modules: {
toolbar: false,
syntax: true
},
"theme": "snow",
};
On the other hand you could also use a prefix theme that comes with no toolbar at all.
var config = {
"theme": "bubble",
};
All the text editors I used have a prefix theme where there is no toolbar available.