-
Notifications
You must be signed in to change notification settings - Fork 113
Eraser
Srdjan Djenader edited this page Nov 30, 2017
·
2 revisions
plugins: [
'Eraser',
'BrushSize'
]
pluginsConfig: {
'Eraser': {
cursorUrl: 'url(assets/eraser_cursor.cur), default',
brushSize: 3
}
}
-
cursorUrl
:- Optional property that can be set to use the cursor from the specified file.
The URL is specified in typical CSS format:'url(assets/eraser_cursor.cur), default'
- Note the word
default
at the end: that is the name of the cursor that will be used when the specified URL is unavailable.
The Mozilla Developer Network has more information on the CSS cursor property.
- Optional property that can be set to use the cursor from the specified file.
-
brushSize
:- Sets the default brush size.
- If you want the user to be able to set their own brush size, the BrushSize plugin must be included, too.
Getting Started
Plugins
-
Drawing Tools
-
Drawing Options
-
Advanced Configuration
Redactor Plugin Specific
DEMO