diff --git a/core/templates/dev/head/components/CkEditorRteDirective.js b/core/templates/dev/head/components/CkEditorRteDirective.js index 196f2c6db528..e900637c7248 100644 --- a/core/templates/dev/head/components/CkEditorRteDirective.js +++ b/core/templates/dev/head/components/CkEditorRteDirective.js @@ -92,10 +92,16 @@ oppia.directive('ckEditorRte', [ CKEDITOR.plugins.addExternal( 'pre', '/extensions/ckeditor_plugins/pre/', 'plugin.js'); + var startupFocusEnabled = true; + if ( + scope.uiConfig() && + scope.uiConfig().startupFocusEnabled !== undefined) { + startupFocusEnabled = scope.uiConfig().startupFocusEnabled; + } // Initialize CKEditor. var ck = CKEDITOR.inline(el[0].children[0].children[1], { extraPlugins: 'pre,sharedspace,' + pluginNames, - startupFocus: true, + startupFocus: startupFocusEnabled, removePlugins: 'indentblock', title: false, floatSpaceDockedOffsetY: 15, diff --git a/core/templates/dev/head/pages/skill_editor/editor_tab/SkillMisconceptionsEditorDirective.js b/core/templates/dev/head/pages/skill_editor/editor_tab/SkillMisconceptionsEditorDirective.js index 961bf9180b68..de2de7f4549b 100644 --- a/core/templates/dev/head/pages/skill_editor/editor_tab/SkillMisconceptionsEditorDirective.js +++ b/core/templates/dev/head/pages/skill_editor/editor_tab/SkillMisconceptionsEditorDirective.js @@ -94,13 +94,16 @@ oppia.directive('skillMisconceptionsEditor', [ $scope.skill = SkillEditorStateService.getSkill(); $scope.MISCONCEPTION_PROPERTY_FORM_SCHEMA = { type: 'html', - ui_config: {} + ui_config: { + startupFocusEnabled: false + } }; $scope.MISCONCEPTION_FEEDBACK_PROPERTY_FORM_SCHEMA = { type: 'html', ui_config: { - hide_complex_extensions: true + hide_complex_extensions: true, + startupFocusEnabled: false } }; diff --git a/core/templates/dev/head/pages/skill_editor/editor_tab/add_misconception_modal_directive.html b/core/templates/dev/head/pages/skill_editor/editor_tab/add_misconception_modal_directive.html index f578daea91a0..76520a61c2b7 100644 --- a/core/templates/dev/head/pages/skill_editor/editor_tab/add_misconception_modal_directive.html +++ b/core/templates/dev/head/pages/skill_editor/editor_tab/add_misconception_modal_directive.html @@ -22,7 +22,7 @@

Add Misconception

Use a name that will be easy for question creators to understand.
- + Please use at most 30 characters. diff --git a/core/templates/dev/head/pages/topic_editor/subtopics_editor/subtopics_list_tab_directive.html b/core/templates/dev/head/pages/topic_editor/subtopics_editor/subtopics_list_tab_directive.html index bc738e99a8a0..dc761e2a8087 100644 --- a/core/templates/dev/head/pages/topic_editor/subtopics_editor/subtopics_list_tab_directive.html +++ b/core/templates/dev/head/pages/topic_editor/subtopics_editor/subtopics_list_tab_directive.html @@ -9,11 +9,18 @@

ng-repeat="(subtopicIndex, subtopic) in subtopics" dnd-list="subtopic.getSkillSummaries()" dnd-drop="endMoveSkill(subtopic.getId())"> - <[subtopic.getTitle()]> - <[subtopic.getTitle().substring(0,17)]>... - +
+ <[subtopic.getTitle()]> + <[subtopic.getTitle().substring(0,15)]>... +
+ + +
+
- @@ -108,6 +114,9 @@

Uncategorized Skills

flex: 0 0 auto; position: relative; } + subtopics-list-tab .subtopic-header { + text-align: left; + } subtopics-list-tab .subtopic:hover { background-color: #f6f6f6; } @@ -115,7 +124,7 @@

Uncategorized Skills

background-color: white; border-width: 3px; border-style: dotted; - border-color: #a4a4a4; + border-color: #c3c3c3; } subtopics-list-tab .new:hover { background-color: #f1f1f1; @@ -123,7 +132,6 @@

Uncategorized Skills

subtopics-list-tab .new span { position: sticky; top: 40%; - left: 20%; } subtopics-list-tab .subtopics { background-color: white; diff --git a/core/templates/dev/head/pages/topics_and_skills_dashboard/create_new_skill_modal_directive.html b/core/templates/dev/head/pages/topics_and_skills_dashboard/create_new_skill_modal_directive.html index f69a881e6d43..47bfec700239 100644 --- a/core/templates/dev/head/pages/topics_and_skills_dashboard/create_new_skill_modal_directive.html +++ b/core/templates/dev/head/pages/topics_and_skills_dashboard/create_new_skill_modal_directive.html @@ -7,7 +7,7 @@

Create New Skill

New Skill Description
- +

- + +