Commit Graph

21 Commits

Author SHA1 Message Date
Nick O'Leary e3e0378857
Add visual json editor 2019-06-11 14:44:44 +01:00
Nick O'Leary 5f5feaed5f
Add expand editor button to Template node 2019-05-19 22:34:04 +01:00
Nick O'Leary 98a001a8ca
Deprecate editor-button css class 2019-05-17 10:42:43 +01:00
Nick O'Leary 0d75ff336d
Found some more ids and classes to namespace 2019-05-16 22:32:28 +01:00
Nick O'Leary 031362a633
Move all colours to sass variables 2019-05-15 13:54:29 +01:00
Nick O'Leary b98e85016a
Namespace type editors CSS 2019-05-07 16:48:05 +01:00
Nick O'Leary 67f8ec7f87
Append node configs to div rather than body 2019-05-03 21:32:12 +01:00
Nick O'Leary 8dc1ad8168
Namespace workspace/view css 2019-05-01 22:41:20 +01:00
Nick O'Leary b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Nick O'Leary 057127f4de
Hitting enter in Comment node name field clicks markdown button
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.

Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.

There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Hiroyasu Nishiyama 2f884ec778 i18 support for markdown editor tooltip 2018-12-11 22:33:11 +09:00
Nick O'Leary ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors 2018-12-10 22:21:21 +00:00
Nick O'Leary 6201247875
Tidy up markdown toolbar handling across all editors
Any editor for the markdown mode will now automatically get
the markdown toolbar added.

The comment node has been updated to handle this properly and
to not add two copies of its content to the sidebar.
2018-12-10 15:24:27 +00:00
Nick O'Leary fc8c4063f2
Add markdown toolbar to flow description editor 2018-10-16 11:36:24 +01:00
Nick O'Leary 6bd0682e8c
Better markdown editor preview 2018-10-07 14:24:32 +01:00
Nick O'Leary 422109868d
Add markdown toolbar to node description editor 2018-10-06 23:14:04 +01:00
Nick O'Leary bcc7834650
Add markdown formatting toolbar 2018-10-05 17:56:54 +01:00
Nick O'Leary b2f50da322
Create custom ace javascript mode to handle Function sig
Fixes #1911
2018-10-02 23:01:34 +01:00
Nick O'Leary 80a15089b4
Add markdown-preview to expandable editor for ndoe descriptions 2018-09-21 17:21:04 +01:00
Nick O'Leary cfaaef7860
Merge branch 'dev' into repackage 2018-09-06 10:31:36 +01:00
Nick O'Leary e57d8ba0ef
pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00