wrap quote in one more div
This commit is contained in:
parent
031db4c888
commit
b467b93fb6
2 changed files with 12 additions and 9 deletions
|
@ -1,4 +1,5 @@
|
|||
.OMLQuote {
|
||||
padding: 8px;
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: rgb(255, 255, 255);
|
||||
font-family: Georgia, Palatino, DejaVu Serif, Book Antiqua, Palatino Linotype, Times New Roman, serif;
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
oml.ui.annotation = function(annotation, $iframe) {
|
||||
var $quote = Ox.Element().addClass('OxSelectable OMLQuote').css({
|
||||
padding: '8px'
|
||||
}).html(Ox.encodeHTMLEntities(annotation.text).replace(/\n/g, '<br/>')).on({
|
||||
var $quote = Ox.Element()
|
||||
.addClass('OxSelectable OMLQuote')
|
||||
.append(
|
||||
Ox.Element().html(Ox.encodeHTMLEntities(annotation.text).replace(/\n/g, '<br/>'))
|
||||
).on({
|
||||
click: function(event) {
|
||||
that.select()
|
||||
$iframe.postMessage('selectAnnotation', {
|
||||
|
|
Loading…
Reference in a new issue