diff --git a/Resources/Private/Partials/ProfileEdit/ProfileInformation/Cooperation.html b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Cooperation.html
new file mode 100644
index 0000000..f14eb16
--- /dev/null
+++ b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Cooperation.html
@@ -0,0 +1,63 @@
+
+
+
+
+
Cooperation
+ Add new entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/Private/Partials/ProfileEdit/ProfileInformation/CurriculumVitae.html b/Resources/Private/Partials/ProfileEdit/ProfileInformation/CurriculumVitae.html
new file mode 100644
index 0000000..bf4b46e
--- /dev/null
+++ b/Resources/Private/Partials/ProfileEdit/ProfileInformation/CurriculumVitae.html
@@ -0,0 +1,53 @@
+
+
+
+
+
Vita
+ Add new entry
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/Private/Partials/ProfileEdit/ProfileInformation/Lecture.html b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Lecture.html
new file mode 100644
index 0000000..5abadb8
--- /dev/null
+++ b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Lecture.html
@@ -0,0 +1,63 @@
+
+
+
+
+
Lectures
+ Add new entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/Private/Partials/ProfileEdit/ProfileInformation/Membership.html b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Membership.html
new file mode 100644
index 0000000..ff9654e
--- /dev/null
+++ b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Membership.html
@@ -0,0 +1,63 @@
+
+
+
+
+
Memberships
+ Add new entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/Private/Partials/ProfileEdit/ProfileInformation/Publication.html b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Publication.html
new file mode 100644
index 0000000..3b4b1e4
--- /dev/null
+++ b/Resources/Private/Partials/ProfileEdit/ProfileInformation/Publication.html
@@ -0,0 +1,69 @@
+
+
+
+
+
Publications
+
+
+ Add new entry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/Public/JavaScript/FrontendEditor.js b/Resources/Public/JavaScript/FrontendEditor.js
index 09135d1..4970a12 100644
--- a/Resources/Public/JavaScript/FrontendEditor.js
+++ b/Resources/Public/JavaScript/FrontendEditor.js
@@ -17,18 +17,32 @@
]
};
+ var editorConfigLinkOnly = {
+ language: 'en',
+ height: 350,
+ format_tags: 'p',
+ toolbarGroups: [
+ { name: 'links' },
+ { name: 'clipboard', groups: [ 'cleanup' ] }
+ ],
+ customConfig: '',
+ removeButtons: [
+ 'Anchor',
+ ]
+ };
+
var waitCKEDITOR = setInterval(function() {
console.log('Wait for ckeditor');
if (window.CKEDITOR) {
clearInterval(waitCKEDITOR);
CKEDITOR.replace('profile-teaching-area', editorConfig);
CKEDITOR.replace('profile-core-competences', editorConfig);
- CKEDITOR.replace('profile-memberships', editorConfig);
CKEDITOR.replace('profile-supervised-thesis', editorConfig);
CKEDITOR.replace('profile-supervised-doctoral-thesis', editorConfig);
- CKEDITOR.replace('profile-vita', editorConfig);
- CKEDITOR.replace('profile-publications', editorConfig);
CKEDITOR.replace('profile-miscellaneous', editorConfig);
+ document.querySelectorAll('.publication-bodytext').forEach((textarea) => {
+ CKEDITOR.replace(textarea, editorConfigLinkOnly);
+ });
}
}, 100);
})();