diff --git a/fonts/sd_icons.eot b/fonts/sd_icons.eot
index e0fa573809..4eb6f19db2 100755
Binary files a/fonts/sd_icons.eot and b/fonts/sd_icons.eot differ
diff --git a/fonts/sd_icons.svg b/fonts/sd_icons.svg
index 143e00c356..266c4d6751 100755
--- a/fonts/sd_icons.svg
+++ b/fonts/sd_icons.svg
@@ -10,9 +10,9 @@
-
+
-
+
@@ -47,9 +47,9 @@
-
+
-
+
@@ -58,19 +58,19 @@
-
+
-
-
+
+
-
+
@@ -79,7 +79,7 @@
-
+
@@ -90,26 +90,26 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -126,4 +126,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fonts/sd_icons.ttf b/fonts/sd_icons.ttf
index ede7e3c1c0..c5f33407ac 100755
Binary files a/fonts/sd_icons.ttf and b/fonts/sd_icons.ttf differ
diff --git a/fonts/sd_icons.woff b/fonts/sd_icons.woff
index 118bae4b7d..d8448f0c18 100755
Binary files a/fonts/sd_icons.woff and b/fonts/sd_icons.woff differ
diff --git a/scripts/apps/authoring/authoring/directives/ArticleEditDirective.js b/scripts/apps/authoring/authoring/directives/ArticleEditDirective.js
index f207463db0..1811df74b0 100644
--- a/scripts/apps/authoring/authoring/directives/ArticleEditDirective.js
+++ b/scripts/apps/authoring/authoring/directives/ArticleEditDirective.js
@@ -62,6 +62,7 @@ export function ArticleEditDirective(
scope.editSignOff = false;
scope.mediaLoading = false;
scope.validator = config.validatorMediaMetadata;
+ scope.features = config.features;
var mainEditScope = scope.$parent.$parent;
var autopopulateByline = config.features && config.features.autopopulateByline;
diff --git a/scripts/apps/authoring/authoring/directives/SendItem.js b/scripts/apps/authoring/authoring/directives/SendItem.js
index 21c90a2094..1339ef2c0b 100644
--- a/scripts/apps/authoring/authoring/directives/SendItem.js
+++ b/scripts/apps/authoring/authoring/directives/SendItem.js
@@ -2,11 +2,11 @@ import _ from 'lodash';
SendItem.$inject = ['$q', 'api', 'desks', 'notify', 'authoringWorkspace',
'superdeskFlags', '$location', 'macros', '$rootScope',
- 'authoring', 'send', 'editor', 'confirm', 'archiveService',
+ 'authoring', 'send', 'editorResolver', 'confirm', 'archiveService',
'preferencesService', 'multi', 'datetimeHelper', 'config', 'privileges', 'storage'];
export function SendItem($q, api, desks, notify, authoringWorkspace,
superdeskFlags, $location, macros, $rootScope,
- authoring, send, editor, confirm, archiveService,
+ authoring, send, editorResolver, confirm, archiveService,
preferencesService, multi, datetimeHelper, config, privileges, storage) {
return {
scope: {
@@ -26,6 +26,8 @@ export function SendItem($q, api, desks, notify, authoringWorkspace,
controllerAs: 'vm',
templateUrl: 'scripts/apps/authoring/views/send-item.html',
link: function sendItemLink(scope, elem, attrs, ctrl) {
+ const editor = editorResolver.get();
+
scope.mode = scope.mode || 'authoring';
scope.desks = null;
scope.stages = null;
diff --git a/scripts/apps/authoring/editor/find-replace.js b/scripts/apps/authoring/editor/find-replace.js
index 97b27fc219..0bd327ced5 100644
--- a/scripts/apps/authoring/editor/find-replace.js
+++ b/scripts/apps/authoring/editor/find-replace.js
@@ -7,16 +7,14 @@
* AUTHORS and LICENSE files distributed with this source code, or
* at https://www.sourcefabric.org/apps/license
*/
-FindReplaceDirective.$inject = ['editor', 'editor3', 'macros', 'authoring'];
+FindReplaceDirective.$inject = ['editorResolver', 'macros'];
/**
* using directive here so that it can return focus
*/
-function FindReplaceDirective(editor2, editor3, macros, authoring) {
+function FindReplaceDirective(editorResolver, macros) {
return {
link: function(scope, elem) {
- // use the editor service of editor3, if it's active
- const isEditor3 = authoring.editor.body_html.editor3;
- const editor = isEditor3 ? editor3 : editor2;
+ const editor = editorResolver.get();
scope.to = '';
scope.from = '';
diff --git a/scripts/apps/authoring/macros/macros.js b/scripts/apps/authoring/macros/macros.js
index ace385cd9b..0cbb7e3ec0 100644
--- a/scripts/apps/authoring/macros/macros.js
+++ b/scripts/apps/authoring/macros/macros.js
@@ -234,12 +234,14 @@ function MacrosController($scope, macros, desks, autosave, $rootScope, storage)
* apply the results of triggered macro with the use of available set of methods such that next,
* prev and replace
*/
-MacrosReplaceDirective.$inject = ['editor'];
-function MacrosReplaceDirective(editor) {
+MacrosReplaceDirective.$inject = ['editorResolver'];
+function MacrosReplaceDirective(editorResolver) {
return {
scope: true,
templateUrl: 'scripts/apps/authoring/macros/views/macros-replace.html',
link: function(scope) {
+ const editor = editorResolver.get();
+
scope.diff = null;
scope.$on('macro:diff', (evt, diff) => {
diff --git a/scripts/apps/authoring/tests/authoring.spec.js b/scripts/apps/authoring/tests/authoring.spec.js
index e8579be658..cc69c5cfdd 100644
--- a/scripts/apps/authoring/tests/authoring.spec.js
+++ b/scripts/apps/authoring/tests/authoring.spec.js
@@ -2274,9 +2274,15 @@ describe('authoring themes', () => {
describe('send item directive', () => {
beforeEach(window.module(($provide) => {
- $provide.constant('config', {server: {url: undefined}, iframely: {key: '123'}, editor: {}});
+ $provide.constant('config', {
+ server: {url: undefined},
+ iframely: {key: '123'},
+ editor: {},
+ features: {onlyEditor3: false}
+ });
}));
+ beforeEach(window.module('superdesk.core.editor3'));
beforeEach(window.module('superdesk.apps.editor2'));
beforeEach(window.module('superdesk.core.preferences'));
beforeEach(window.module('superdesk.apps.authoring'));
diff --git a/scripts/apps/authoring/views/article-edit.html b/scripts/apps/authoring/views/article-edit.html
index 9aff3d820f..eb5b212677 100644
--- a/scripts/apps/authoring/views/article-edit.html
+++ b/scripts/apps/authoring/views/article-edit.html
@@ -1,4 +1,4 @@
-
+
{{item.headline}}
-
+
-
-
+
-
+
@@ -198,12 +199,13 @@
-
+
-
{{item.description_text}}
-
+
{{ :: 'Editing' | translate }} "{{ editing.form.label }}"
+
+
diff --git a/scripts/apps/workspace/content/views/schema-editor.html b/scripts/apps/workspace/content/views/schema-editor.html
index 17400b80be..5ec0ef4e5f 100644
--- a/scripts/apps/workspace/content/views/schema-editor.html
+++ b/scripts/apps/workspace/content/views/schema-editor.html
@@ -17,10 +17,6 @@
Schema Configuration