-
+
{lang.t('MY_COMMENTS')}
@@ -192,7 +192,9 @@ class Embed extends Component {
showSignInDialog={this.props.showSignInDialog}
key={highlightedComment.id}
reactKey={highlightedComment.id}
- comment={highlightedComment} />
+ comment={highlightedComment}
+ {...this.props}
+ />
}
- {injectPlugins(fill)}
+ {injectPlugins(slotProps)}
);
}
diff --git a/client/coral-framework/helpers/importer.js b/client/coral-framework/helpers/importer.js
index 96adc799e..929048088 100644
--- a/client/coral-framework/helpers/importer.js
+++ b/client/coral-framework/helpers/importer.js
@@ -1,6 +1,6 @@
import {client as clientPlugins} from 'pluginsConfig';
-function importer (fill) {
+function importer ({fill, ...props}) {
let context,
importedFiles;
@@ -39,7 +39,8 @@ function importer (fill) {
*/
plugin.props = {
...actionsImporter(),
- ...getConfig(plugin.name)
+ ...getConfig(plugin.name),
+ ...props
};
return plugin;
diff --git a/plugins/coral-plugin-respect/client/index.js b/plugins/coral-plugin-respect/client/index.js
index 2ea5751a8..9db812fcc 100644
--- a/plugins/coral-plugin-respect/client/index.js
+++ b/plugins/coral-plugin-respect/client/index.js
@@ -3,6 +3,7 @@ import styles from './style.css';
export default (props) => (
+ {console.log(props)}
);