window.nextgenEditor.addShortcode('prism', { type: 'block', plugin: 'prism-highlight', title: 'Prism Highlight', button: { label: 'Prism Highlight', icon: '', }, attributes: { classes: { type: String, title: 'Classes', widget: 'input-text', default: '', }, id: { type: String, title: 'ID', widget: 'input-text', default: '', }, 'cl-prompt': { type: String, title: 'CL Prompt', widget: 'input-text', default: '', }, highlight: { type: String, title: 'Highlight', widget: 'input-text', default: '', }, git: { type: String, title: 'Git URL', widget: 'input-text', default: '', }, }, titlebar({ attributes }) { return [] .concat([ attributes.classes ? `classes: ${attributes.classes}` : null, attributes.git ? `git: ${attributes.git}` : null, ]) .filter((item) => !!item) .join(', '); }, content({ attributes }) { return `