Skip to content
Snippets Groups Projects
Commit 629794ff authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Add api key

parent 69a15047
No related branches found
No related tags found
2 merge requests!7feat: add front office,!6Test variabilisation
Pipeline #15457 passed
...@@ -28,6 +28,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -28,6 +28,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
</div> </div>
<div> <div>
<Editor <Editor
apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg"
init={{ init={{
menubar: false, menubar: false,
toolbar: toolbar:
...@@ -43,6 +44,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -43,6 +44,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
</div> </div>
<Editor <Editor
apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg"
init={{ init={{
menubar: false, menubar: false,
toolbar: toolbar:
...@@ -57,7 +59,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -57,7 +59,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
text: 'consumption', text: 'consumption',
onAction: function () { onAction: function () {
editor.insertContent( editor.insertContent(
'&nbsp;<a href="https://ecolyo.{cozyUrl}/consumption">Page de consommation</a>' '&nbsp;<a href="https://ecolyo.{cozyUrl}/consumption">page de consommation</a>'
) )
}, },
}, },
...@@ -66,7 +68,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -66,7 +68,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
text: 'challenges', text: 'challenges',
onAction: function () { onAction: function () {
editor.insertContent( editor.insertContent(
'&nbsp;<a href="https://ecolyo.{cozyUrl}/challenges">Page challenges</a>' '&nbsp;<a href="https://ecolyo.{cozyUrl}/challenges">page challenges</a>'
) )
}, },
}, },
...@@ -75,7 +77,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -75,7 +77,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
text: 'ecogestures', text: 'ecogestures',
onAction: function () { onAction: function () {
editor.insertContent( editor.insertContent(
'&nbsp;<a href="https://ecolyo.{cozyUrl}/ecogestures">Page ecogestures</a>' '&nbsp;<a href="https://ecolyo.{cozyUrl}/ecogestures">page ecogestures</a>'
) )
}, },
}, },
...@@ -84,7 +86,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -84,7 +86,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
text: 'analysis', text: 'analysis',
onAction: function () { onAction: function () {
editor.insertContent( editor.insertContent(
'&nbsp;<a href="https://ecolyo.{cozyUrl}/analysis">Page analyse</a>' '&nbsp;<a href="https://ecolyo.{cozyUrl}/analysis">page analyse</a>'
) )
}, },
}, },
...@@ -93,7 +95,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ ...@@ -93,7 +95,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({
text: 'options', text: 'options',
onAction: function () { onAction: function () {
editor.insertContent( editor.insertContent(
'&nbsp;<a href="https://ecolyo.{cozyUrl}/options">Page options</a>' '&nbsp;<a href="https://ecolyo.{cozyUrl}/options">page options</a>'
) )
}, },
}, },
......
...@@ -40,6 +40,7 @@ const Poll: React.FC<PollProps> = ({ ...@@ -40,6 +40,7 @@ const Poll: React.FC<PollProps> = ({
<p className="title">Question</p> <p className="title">Question</p>
<Editor <Editor
apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg"
init={{ init={{
menubar: false, menubar: false,
toolbar: toolbar:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment