-
Notifications
You must be signed in to change notification settings - Fork 113
Rectangle
Srdjan Djenader edited this page Nov 30, 2017
·
2 revisions
plugins: [
'Rectangle',
'Color',
'ShapeBorder'
]
pluginsConfig: {
'Rectangle': {
centeringMode: 'normal'
}
}
-
centeringMode
:- Defines the centering method when drawing a rectangle:
-
'normal'
: The rectangle's top left corner will be placed at the position of the first mouse click and will be resized from that point. -
'from_center'
: The rectangle's top left corner will be placed at the position of the first mouse click and will be resized from that point.
-
- Defines the centering method when drawing a rectangle:
- The Color or ColorHtml5 plugin allows the user to set the color of the shape.
- The optional ShapeBorder plugin allows the user to set the color and style of the border.
Getting Started
Plugins
-
Drawing Tools
-
Drawing Options
-
Advanced Configuration
Redactor Plugin Specific
DEMO