Skip to content

Commit

Permalink
fix slate link
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Jul 4, 2023
1 parent 65dc3b5 commit 1599759
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/SiteTableau/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { connect } from 'react-redux';
import { compose } from 'redux';
import { withRouter } from 'react-router';
import Tableau from '@eeacms/volto-tableau/Tableau/View';
import Tableau from '@eeacms/volto-tableau/Tableau/Tableau';
import config from '@plone/volto/registry';
import { connectToProviderData } from '@eeacms/volto-datablocks/hocs';
import qs from 'querystring';
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/TableauBlock/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { connect } from 'react-redux';
import { compose } from 'redux';
import { withRouter } from 'react-router';
import Tableau from '@eeacms/volto-tableau/Tableau/View';
import Tableau from '@eeacms/volto-tableau/Tableau/Tableau';
import config from '@plone/volto/registry';
import qs from 'querystring';
import '@eeacms/volto-tableau/less/tableau.less';
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
installAppExtras,
} from '@eeacms/volto-industry-theme/components';
import addonReducers from '@eeacms/volto-industry-theme/reducers';
import installLink from '@plone/volto-slate/editor/plugins/AdvancedLink';

import iconC from '@eeacms/volto-columns-block/ColumnsBlock/icons/one-third-right.svg';

Expand All @@ -30,6 +31,8 @@ const applyConfig = (config) => {
],
};

config = installLink(config);

config.blocks.groupBlocksOrder = [
...config.blocks.groupBlocksOrder,
{ id: 'eprtr_blocks', title: 'Eprtr Blocks' },
Expand Down

0 comments on commit 1599759

Please sign in to comment.