| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
ve.ce.SuperscriptAnnotation = function VeCeSuperscriptAnnotation() { |
| 18 |
|
| 19 |
ve.ce.SuperscriptAnnotation.super.apply( this, arguments ); |
| 20 |
|
| 21 |
|
| 22 |
this.$element.addClass( 've-ce-superscriptAnnotation' ); |
| 23 |
}; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
OO.inheritClass( ve.ce.SuperscriptAnnotation, ve.ce.TextStyleAnnotation ); |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
ve.ce.SuperscriptAnnotation.static.name = 'textStyle/superscript'; |
| 32 |
|
| 33 |
ve.ce.SuperscriptAnnotation.static.tagName = 'sup'; |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
ve.ce.annotationFactory.register( ve.ce.SuperscriptAnnotation ); |