Index: trunk/parsers/wikidom/lib/es/es.Surface.css |
— | — | @@ -75,11 +75,21 @@ |
76 | 76 | .editSurface-format-object { |
77 | 77 | background-color: rgba(0,0,0,0.05); |
78 | 78 | border-radius: 0.25em; |
79 | | - margin: 1px; |
| 79 | + margin: 1px 0 1px 1px; |
80 | 80 | padding: 0.25em 0; |
81 | 81 | cursor: default; |
82 | 82 | } |
83 | 83 | |
| 84 | +.editSurface-format-object * { |
| 85 | + cursor: default !important; |
| 86 | +} |
| 87 | + |
| 88 | +.editSurface-format-object a:link, |
| 89 | +.editSurface-format-object a:visited, |
| 90 | +.editSurface-format-object a:active { |
| 91 | + color: blue; |
| 92 | +} |
| 93 | + |
84 | 94 | .editSurface-format-italic { |
85 | 95 | font-style: italic; |
86 | 96 | } |
Index: trunk/parsers/wikidom/lib/es/es.TextFlow.js |
— | — | @@ -334,7 +334,14 @@ |
335 | 335 | 'word': word, |
336 | 336 | 'fractional': fractional |
337 | 337 | }); |
338 | | - //console.log( start, end, this.lines[this.lines.length - 1].text, this.lines[this.lines.length - 1].fractional ); |
| 338 | + // Disable links within content |
| 339 | + $line.find( '.editSurface-format-object a' ) |
| 340 | + .mousedown( function( e ) { |
| 341 | + e.preventDefault(); |
| 342 | + } ) |
| 343 | + .click( function( e ) { |
| 344 | + e.preventDefault(); |
| 345 | + } ); |
339 | 346 | }; |
340 | 347 | |
341 | 348 | /** |