Commit Graph
31 Commits
Author SHA1 Message Date
Jonathan del Strother 41f37a034d Include a CSP nonce in style tagsIf trix-style-nonce or csp-nonce is included in the page's meta tags,Trix will automatically use them for generated style tags. 2019-10-28 16:05:26 +00:00
Javan Makhmali ed09bcb712 Try making attachment captions editable when selected 2018-05-09 14:22:24 -04:00
Javan Makhmali 337a124d2a WIP: Image attachment sizes 2018-05-09 14:22:24 -04:00
Javan Makhmali b7b8b109c3 Tweak editor layout 2016-11-26 16:49:28 -05:00
Javan Makhmali 4a592e843d Follow up fix for attachment view cache invalidation (150be0f08b)
Super fast local uploads hid the issue so add a fake delay
2016-11-17 17:48:22 -05:00
Javan Makhmali cfc9d51602 Add development attachment server 2016-11-16 10:01:22 -05:00
Javan Makhmali bd692ea16c Inspector: Show character -> selection mapping 2016-04-11 11:10:16 -04:00
Javan Makhmali e1de89cb8e Preview formatted content 2015-11-28 16:39:35 -05:00
Javan Makhmali eb756346c2 Revive inspector 2015-11-14 13:16:12 -05:00
Sam Stephenson aac0e493ca Add basic content styles 2015-10-15 18:52:44 -04:00
Sam Stephenson e64a1c567e New default styles 2015-10-05 22:57:22 -05:00
Javan Makhmali fd3a7ec69c index -> demo 2014-04-03 15:20:26 -05:00
Javan Makhmali e2bc4c009c Embed editor styles 2014-03-31 09:21:59 -05:00
Javan Makhmali d933e60740 Simulate autofocus 2014-03-28 16:31:36 -04:00
Javan Makhmali cb3de00bb4 Simulate placeholder with CSS pseudo classes 2014-03-28 16:12:52 -04:00
Javan Makhmali 38304a4d94 Replace textarea with editor element and serialize HTML to it for form submission 2014-03-27 15:14:30 -04:00
Javan Makhmali 2104bf0f85 Install with a config object. Move local install to a CoffeeScript file 2014-03-27 14:02:35 -04:00
Javan Makhmali 07357ecb01 Load JSON from an input element 2014-03-25 17:14:32 -04:00
Sam Stephenson c7b12e6ec2 Relative path for basecamp.png 2014-03-11 20:59:07 -05:00
Javan Makhmali abe9078c29 Use CSS outline instead of border to avoid jumpiness caused by dimension change 2014-03-11 17:29:36 -04:00
Javan Makhmali 1b2281282e Clean up image editor styling 2014-03-11 15:02:10 -04:00
Javan Makhmali b7cde499a2 Use mouse events to perform resize so we can control the cursor 2014-03-11 14:39:51 -04:00
Javan Makhmali 8420459923 Implement proportional image resizing using drag-and-drop 2014-03-10 14:47:01 -04:00
Javan Makhmali cfdf3e8415 Put dialogs below buttons. Only show one dialog at a time 2014-03-06 16:16:15 -05:00
Javan Makhmali 3b32f3c9cc Add a toolbar button for images with a dialog containing draggable attachments 2014-03-05 15:10:36 -05:00
Javan Makhmali 03f8f38db1 Don't use forms for toolbar dialogs as they're likely to be nested in other forms 2014-03-04 17:04:59 -05:00
Javan Makhmali 3caad66ca6 Reset dialog form to remove attribute 2014-03-03 14:57:33 -05:00
Javan Makhmali b9054ccb45 Use a form for toolbar dialogs and respond to submit event 2014-03-03 14:48:19 -05:00
Javan Makhmali 5bdc354176 Toolbar buttons can toggle a dialog element's visibility instead of an attribute. Allow setting arbitrary attribute values from a dialog. Lock the selected range to preserve it when interacting with a dialog. 2014-02-28 09:56:33 -05:00
Javan Makhmali 5c3f692eb5 Implement link rendering. Link containers only have an href attribute and formatting attributes are applied to child containers. 2014-02-26 19:43:59 -05:00
Sam Stephenson 9c0c67201b New build system 2014-02-25 14:48:27 -06:00