diff --git a/src/config/RichTextEditor/LinkEntity.jsx b/src/config/RichTextEditor/LinkEntity.jsx index 519584f04..3766cd527 100644 --- a/src/config/RichTextEditor/LinkEntity.jsx +++ b/src/config/RichTextEditor/LinkEntity.jsx @@ -1,6 +1,7 @@ import React from 'react'; import { connect } from 'react-redux'; import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink'; +import { IntlProvider } from 'react-intl'; const LinkEntity = connect((state) => ({ token: state.userSession.token, @@ -8,15 +9,18 @@ const LinkEntity = connect((state) => ({ const { token, url, target, targetUrl, download, children, dataElement } = props; const to = token ? url : targetUrl || url; + return ( - - {children} - + + + {children} + + ); });