We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a091cc2 commit d87b379Copy full SHA for d87b379
src/index.js
@@ -212,7 +212,7 @@ function getSlots(tag, content = []) {
212
}
213
214
if (!node.attrs.name) {
215
- node.attrs.name = Object.keys({...node.attrs}).find(name => !Object.keys(slotTypes).includes(name) && name !== 'type');
+ node.attrs.name = Object.keys({...node.attrs}).find(name => !Object.keys(slotTypes).includes(name) && name !== 'type' && name !== defaultSlotType);
216
217
218
0 commit comments