in src/js/rule-definitions.js [332:371]
supportedTypes: Set([RulePropertyTypes.ELEMENT]),
defaultType: RulePropertyTypes.ELEMENT,
defaultAttribute: 'content',
}),
}),
})
);
ruleDefinitions.push(
RuleDefinitionFactory({
name: 'PassThroughRule',
category: RuleCategories.ADVANCED,
displayName: 'Pass Through',
placeholder: 'Example: div.foo',
})
);
ruleDefinitions.push(
RuleDefinitionFactory({
name: 'IgnoreRule',
category: RuleCategories.ADVANCED,
displayName: 'Ignore',
placeholder: 'Example: div.bar',
})
);
ruleDefinitions.push(
RuleDefinitionFactory({
name: 'SlideshowRule',
category: RuleCategories.MEDIA,
displayName: 'Slideshow (Container)',
placeholder: 'Example: div.slideshow',
})
);
ruleDefinitions.push(
RuleDefinitionFactory({
name: 'SlideshowImageRule',
category: RuleCategories.MEDIA,
getSelectionContext: selectionContextByRules(['SlideshowRule']),
displayName: 'Slideshow Image',
placeholder: 'Example: div.img',
properties: Map({
'image.url': RulePropertyDefinitionFactory({