OnEnterRule interface
Describes a rule to be evaluated when pressing Enter.
Properties
action | The action to execute. |
after |
This rule will only execute if the text after the cursor matches this regular expression. |
before |
This rule will only execute if the text before the cursor matches this regular expression. |
Property Details
action
afterText
This rule will only execute if the text after the cursor matches this regular expression.
afterText?: RegExp
Property Value
RegExp
beforeText
This rule will only execute if the text before the cursor matches this regular expression.
beforeText: RegExp
Property Value
RegExp
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de