This is a migrated thread and some comments may be shown as answers.

Run Command and dont add it to stack passing args

0 Answers 32 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 12 Mar 2018, 06:18 PM

Hello Telerikers.

 

I was tryng to do something today and i couldnt. 

All i want to do is fire the command `ForeColor` , with args { value: 'red'; }, but w/o adding to the stack.

 

I could not manage to do this, as the editor.fireCommand will add to stack.

 

editor.executeCommand wont have args as an option, and i cant create a GenericCommand for that.

 

What would be the best approach ?

 

Best regards, Gabriel

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Gabriel
Top achievements
Rank 1
Share this question
or