|
@@ -7,6 +7,7 @@ import { SidebarProjectVideo } from './Sidebar.Project.Video.js';
|
|
function SidebarProject( editor ) {
|
|
function SidebarProject( editor ) {
|
|
|
|
|
|
var config = editor.config;
|
|
var config = editor.config;
|
|
|
|
+ var signals = editor.signals;
|
|
var strings = editor.strings;
|
|
var strings = editor.strings;
|
|
|
|
|
|
var container = new UISpan();
|
|
var container = new UISpan();
|
|
@@ -69,6 +70,15 @@ function SidebarProject( editor ) {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Signals
|
|
|
|
+
|
|
|
|
+ signals.editorCleared.add( function () {
|
|
|
|
+
|
|
|
|
+ title.setValue( '' );
|
|
|
|
+ config.setKey( 'project/title', '' );
|
|
|
|
+
|
|
|
|
+ } );
|
|
|
|
+
|
|
return container;
|
|
return container;
|
|
|
|
|
|
}
|
|
}
|