question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit mode right after loading

See original GitHub issue

I need to start editor on the page as soon as it will be loaded. So I’ve added Editor start method in load event listener:

editor = ContentTools.EditorApp.get();
editor.init('[data-editable], [data-fixture]', 'data-name');
editor.start();

Edit mode is turned on, editor.getState() has been changed from ready to editing, but start editor button one the top-left corner is not changed to save\cancel buttons. And clicking on it just hides it and displays save\cancel buttons which work as expected then.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
anthonyjbcommented, Jun 9, 2016

@a-komarev, @afzaalace you can now initialize the EditorApp class without the ignition component using the withIgnition flag, e.g:

var editor = ContentTools.EditorApp.get();
editor.init('[data-editable], [data-fixture]', 'data-name', null, withIgnition=false);
1reaction
brahma-devcommented, Jun 9, 2016

@anthonyjb Is there a way to disable the ignition UI ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

edit mode show a bunch of weird vertices after loading
You have a Shapekey selected, so when you try to edit, you are editing that key. The key itself has most likely been...
Read more >
Use Step Sequencer edit modes in Logic Pro - Apple Support
To choose a different edit mode, click the up and down arrows on the right side of the selector and choose the edit...
Read more >
In vim, prevent caret moving back when I leave edit mode?
When I need to make an edit, I position the caret first, then press "a", and then find that I had positioned it...
Read more >
Opening editor while the edit mode is vi in Readline
After you make your changes just save and quit. The command will be executed after you quit. If you want to look at...
Read more >
Edit mode not working after upgrade to 9.1.0 - DotNetNuke
Usually it has something to do with settings being cached. It will eventually fix itself. One way that has always worked to get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found