-
Notifications
You must be signed in to change notification settings - Fork 113
Triangle
Srdjan Djenader edited this page Nov 30, 2017
·
2 revisions
plugins: [
'Triangle',
'Color',
'ShapeBorder'
]
pluginsConfig: {
'Triangle': {
centeringMode: 'normal'
}
}
-
centeringMode
:- Defines the centering method when drawing a triangle:
-
'normal'
: The top left corner of the rectangular box around the triangle will be placed at the position of the first mouse click. The triangle will be resized from that point. -
'from_center'
: The top left corner of the rectangular box around the triangle will be placed at the position of the first mouse click. The triangle will be resized from that point.
-
- Defines the centering method when drawing a triangle:
- 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