Skip to content
Snippets Groups Projects
Commit 9c52db8d authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

MAINT: Remove unused code

parent 5364f1b4
No related branches found
No related tags found
1 merge request!1ENH: Add inline reference button
......@@ -115,11 +115,6 @@ export default class ComplexitywikiPlugins extends Plugin {
} );
this.listenTo( view, 'execute', () => {
// const entityId = prompt( 'Entity Id' );
// const propName = prompt( 'Property name (optional)' );
// const linkName = prompt( 'Link text (alt text in case of images, optional)' );
// const idAndProp = propName ? `${entityId}.${propName}` : `${entityId}`;
model.change( writer => {
const textNode = writer.createText( '[<link text (optional)>](entity:<id or id.propertyName>', { 'code': true } );
model.insertContent( textNode );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment