Hi,
getAttrs expects the return value to be an object, not a string.
So changing
return id;
into
return { id };
solves the issue with the attribute not being displayed on docnode.
Hi,
getAttrs expects the return value to be an object, not a string.
So changing
return id;
into
return { id };
solves the issue with the attribute not being displayed on docnode.