-
{% area card, 'feedback' %}
+
“{{ card.feedback }}”
{% if card._caseStudy %}
diff --git a/website/modules/testimonials/index.js b/website/modules/testimonials/index.js
index d89df8e5..b9ecae24 100644
--- a/website/modules/testimonials/index.js
+++ b/website/modules/testimonials/index.js
@@ -1,5 +1,3 @@
-const headingToolbar = require('../../lib/headingToolbar');
-
module.exports = {
extend: '@apostrophecms/piece-type',
options: {
@@ -75,15 +73,8 @@ module.exports = {
},
feedback: {
label: 'Feedback',
- type: 'area',
- options: {
- max: 1,
- widgets: {
- '@apostrophecms/rich-text': {
- ...headingToolbar,
- },
- },
- },
+ type: 'string',
+ help: 'Insert the text without quotation marks. They will be added automatically.',
},
},
group: {
diff --git a/website/views/fragments/utilities.html b/website/views/fragments/utilities.html
index 39ea9ae5..0609a699 100644
--- a/website/views/fragments/utilities.html
+++ b/website/views/fragments/utilities.html
@@ -72,7 +72,7 @@ {{ card.title }}
- {% area card, 'feedback' %}
+ “{{ card.feedback }}”
{% if card._caseStudy and card._caseStudy[0] %}