diff --git a/src/components/MonthlyNews/MonthlyNews.tsx b/src/components/MonthlyNews/MonthlyNews.tsx index b3481458a6b30f488c0f11c093ab2fc4af15d2c6..0d9c5ac6ab0c75665ef74e741339129eaa543fbf 100644 --- a/src/components/MonthlyNews/MonthlyNews.tsx +++ b/src/components/MonthlyNews/MonthlyNews.tsx @@ -28,6 +28,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ </div> <div> <Editor + apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg" init={{ menubar: false, toolbar: @@ -43,6 +44,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ </div> <Editor + apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg" init={{ menubar: false, toolbar: @@ -57,7 +59,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ text: 'consumption', onAction: function () { editor.insertContent( - ' <a href="https://ecolyo.{cozyUrl}/consumption">Page de consommation</a>' + ' <a href="https://ecolyo.{cozyUrl}/consumption">page de consommation</a>' ) }, }, @@ -66,7 +68,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ text: 'challenges', onAction: function () { editor.insertContent( - ' <a href="https://ecolyo.{cozyUrl}/challenges">Page challenges</a>' + ' <a href="https://ecolyo.{cozyUrl}/challenges">page challenges</a>' ) }, }, @@ -75,7 +77,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ text: 'ecogestures', onAction: function () { editor.insertContent( - ' <a href="https://ecolyo.{cozyUrl}/ecogestures">Page ecogestures</a>' + ' <a href="https://ecolyo.{cozyUrl}/ecogestures">page ecogestures</a>' ) }, }, @@ -84,7 +86,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ text: 'analysis', onAction: function () { editor.insertContent( - ' <a href="https://ecolyo.{cozyUrl}/analysis">Page analyse</a>' + ' <a href="https://ecolyo.{cozyUrl}/analysis">page analyse</a>' ) }, }, @@ -93,7 +95,7 @@ const MonthlyNews: React.FC<MonthlyNewsProps> = ({ text: 'options', onAction: function () { editor.insertContent( - ' <a href="https://ecolyo.{cozyUrl}/options">Page options</a>' + ' <a href="https://ecolyo.{cozyUrl}/options">page options</a>' ) }, }, diff --git a/src/components/Poll/Poll.tsx b/src/components/Poll/Poll.tsx index 25c71fb08287e6decc8071a9171656bdad06ec2e..910860997d5cc3acc2b2a601536eaaa0c7b4258c 100644 --- a/src/components/Poll/Poll.tsx +++ b/src/components/Poll/Poll.tsx @@ -40,6 +40,7 @@ const Poll: React.FC<PollProps> = ({ <p className="title">Question</p> <Editor + apiKey="2abhh1p06eeeybqtiohaz5u6pvqjk6kg3mh25acw56cknqeg" init={{ menubar: false, toolbar: