all files / packages/link/ Link.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                           
import { PropertyAnnotation, Fragmenter } from '../../model'
 
class Link extends PropertyAnnotation {}
 
Link.schema = {
  type: "link",
  title: { type: 'string', optional: true },
  url: { type: 'string', 'default': ''}
}
 
// in presence of overlapping annotations will try to render this as one element
Link.fragmentation = Fragmenter.SHOULD_NOT_SPLIT
 
Link.autoExpandRight = false
 
export default Link