exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers)
This commit is contained in:
parent
f8816e7522
commit
564ce69a78
17 changed files with 53 additions and 39 deletions
|
|
@ -67,7 +67,7 @@ Ox.DocPage = function(options, self) {
|
|||
.appendTo(self.$toolbar);
|
||||
}
|
||||
|
||||
self.$page = Ox.Container().addClass('OxDocPage OxDocument');
|
||||
self.$page = Ox.Container().addClass('OxDocPage OxDocument OxSelectable');
|
||||
|
||||
that.setElement(
|
||||
Ox.SplitPanel({
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ Ox.SourceViewer = function(options, self) {
|
|||
var $section = $('<tr>')
|
||||
.appendTo(self.$table),
|
||||
$comment = $('<td>')
|
||||
.addClass('OxComment OxSerif')
|
||||
.addClass('OxComment OxSerif OxSelectable')
|
||||
.html(Ox.addLinks(section.comment, true))
|
||||
.appendTo($section),
|
||||
$code = $('<td>')
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ Ox.SyntaxHighlighter = function(options, self) {
|
|||
});
|
||||
|
||||
$source = Ox.Element()
|
||||
.addClass('OxSourceCode')
|
||||
.addClass('OxSourceCode OxSelectable')
|
||||
.html(source)
|
||||
.appendTo(that);
|
||||
if (self.options.lineLength) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue