smartQuotes
Documentation / editor/modules/smartQuotes
smartQuotes()​
function smartQuotes(editor: Editor): object;
Defined in: editor/modules/smartQuotes.ts:17
Replaces regular quotes with smart quotes as they are typed. Also affects pasted content. Uses the text-changing event to prevent the original change and replace it with the new one. This makes the smart- quotes act more seemlessly and includes them as part of regular text undo/redo instead of breaking it like the smart- entry conversions do.
Parameters​
Parameter | Type |
---|---|
|
Returns​
object
Name | Type | Defined in |
---|---|---|
| () => | editor/modules/smartQuotes.ts:45 |