Commit graph

28 commits

Author SHA1 Message Date
rolux
51696562f1 remove unneeded Ox. prefix from path and file names 2014-09-26 15:51:50 +02:00
rlx
2aec28f105 use OxKeyboardFocus class for input-like elements 2014-09-26 12:24:34 +02:00
rlx
f8336fc2c4 that.[0] -> that[0] 2014-09-24 20:15:55 +02:00
j
c290c8bd57 type=input needs Ox.decodeHTMLEntities, fixes #2304 2014-02-14 11:41:09 +00:00
rolux
b34a0cfeac Editables: make placeholder not selectable; don't html-entity-decode value in input fields (makes <br> stay after subsequent edit, makes broken tags appear encoded) 2014-02-04 07:58:52 +00:00
rolux
0940d7317b Editables: when formatting input value, make sure < and > stay < and > 2014-02-04 06:46:28 +00:00
j
a919b43c2e fix setting value of Ox.EditableContent while not editing 2014-01-16 14:07:36 +00:00
j
fee4339d11 rewrite sanitizeHTML to support global attributes 2013-11-10 21:59:36 +00:00
j
961a3c0850 keep cursor if not collapseToEnd 2013-09-30 09:40:47 +00:00
j
a9a804887a better newline matching 2013-09-27 14:29:34 +00:00
j
dab68de1f0 Fix pasting html into EditableContent 2013-09-27 14:17:16 +00:00
j
1246beb4da make collapseToEnd optional 2013-09-26 21:35:28 +00:00
j
6e6da8e000 paste text/plain instead of html in Ox.EditableContent 2013-09-26 21:35:05 +00:00
rlx
564ce69a78 exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers) 2013-07-19 08:42:25 +00:00
rolux
c630818553 update EditableContent and CSS 2013-02-28 10:33:20 +05:30
rolux
65ecc61112 EditableContent: trigger edit/open events 2013-02-27 10:45:02 +00:00
rolux
90d8661641 update EditableContent 2013-02-27 10:00:28 +00:00
rolux
1e2301c4ac update Ox.EditableContent 2013-02-27 13:03:10 +05:30
rolux
cd14cc517c update EditableContent 2013-02-27 09:45:18 +05:30
rolux
f1c8fb39a7 handle empty Ox.EditableContent value via CSS 2013-02-27 09:25:30 +05:30
rolux
feae953311 simplify Ox.EditableContent, update CSS 2013-02-27 08:56:55 +05:30
rolux
8ad1faff85 Ox.Editable/Ox.EditableContent: set placeholder class 2013-02-27 08:28:52 +05:30
rolux
ceba2a7223 update EditableContent, plus some debugging 2013-02-26 15:59:05 +00:00
rolux
5b5a133533 Ox.EditableContent: self.editing -> self.options.editiing 2013-02-26 10:42:43 +05:30
j
0aa4c42ecf fix editing empty values 2013-02-25 21:11:39 +00:00
j
0957500476 only use one element in EditableContent and toggle contenteditable: adds firefox support, allows using doubleclick handler, less code 2013-02-25 20:29:08 +00:00
j
fdc84965bd select all text in span and move cursor to end otherwise 2013-02-25 18:47:07 +00:00
rolux
9460f78053 add OxEditableContent 2013-02-25 16:39:46 +00:00