Closed luke- closed 1 year ago
- snackbar on the bottom appears with message: Copied to clipboard. Design is the typical green checkmark and text.
I am not sure this point can be done from the humhub-prosemirror
side, because it works by using of this separate module https://github.com/humhub/humhub/blob/master/static/js/humhub/humhub.ui.status.js with code like this:
humhub.modules.ui.status.success('Copied')
and the text Copied
should be translatable, it may be defined in some option on init the RichText field.
or example here https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/resources/js/humhub.content.js#L15:
var status = require('ui.status');
status.error(response.response.error);
For this plugin (used in Wiki), the Icon should be changed: https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/widgets/richtext/ProsemirrorRichText.php#L45
when user clicks the fa-chain-icon then