These are chat archives for GetmeUK/ContentTools

12th
Oct 2015
benjaminbarbe
@benjaminbarbe
Oct 12 2015 07:38
I just want take the time to congratulate everyone creating this awesome project. Keep up the good work 👍
Anthony Blackshaw
@anthonyjb
Oct 12 2015 08:45
hi @benjaminbarbe thanks for saying hello :)
Pandahisham
@Pandahisham
Oct 12 2015 16:52
This message was deleted
Pandahisham
@Pandahisham
Oct 12 2015 17:02
@anthonyjb i was thinking about changing the ux a bit , like the medium.com editor , toolbox appears only when some text is selected on a popover , how should i begin ? any best practice ?
Anthony Blackshaw
@anthonyjb
Oct 12 2015 17:32
This message was deleted
Hi @Pandahisham so I'd recommend that you try something along these lines:
ContentEdit.Root.get().bind('blur', function () {
    ContentTools.EditorApp.get()._toolbox.hide();
});

ContentEdit.Root.get().bind('focus', function () {
    ContentTools.EditorApp.get()._toolbox.show();
});