64 Commits

Author SHA1 Message Date
Klaas Poortinga
c79bea7449
Modify codeditor widget to implement html attributes set through form field definition (#5001) 2020-03-25 14:47:39 -06:00
Samuel Georges
31145a3eb7 Peer review visibility changes
It makes more sense to use a consistent UI for all modes, the CSS is cleaner as a result. The code editor toolbar has been moved to the bottom across all instances. This is favourable to it bleeding outside of its perimeter.

Refs #3947
Refs #3948
2019-09-11 20:54:14 +10:00
Samuel Georges
96537033c8 Recompile assets 2019-09-11 20:02:43 +10:00
Ayumi Hamasaki
92e975ffa3 Make the Code editor fullscreen button easier to see (#4546)
Credit to @ayumihamsaki
2019-09-03 11:13:41 -06:00
Luke Towers
d8cd45163d Fixed the focus outline for no results on the CodeEditor search box. Credit to @ayumihamsaki. Replaces #4483. Fixes #4482. 2019-07-26 15:05:07 -06:00
Ayumi Hamasaki
23282bbaa6 Accessibility enhancement for code editor icons (#4395)
Credit to @ayumihamsaki. Fixes #4392
2019-07-08 10:51:25 +03:00
Luke Towers
2d6b9c76a9 Recompile assets 2019-01-15 13:35:12 -06:00
Luke Towers
a9a0544ab0 recompiled stylesheets, retaining newlines for improved diff readability 2019-01-14 11:52:16 -06:00
Luke Towers
ed226e0b09 Recompiled hotkey JS 2018-12-20 13:41:32 -06:00
Luke Towers
44ac62abeb Recompiled LESS using new CSS minification 2018-12-20 13:41:09 -06:00
fansaien
db7610d5c4 Removed the deprecated hotkeyMac (#3995)
Reference: fd264a5fb4 (diff-79eab92a9098980b73745ce9b5ac1895)
2018-12-19 20:21:05 -06:00
Ayumi Hamasaki
8e9b3dba54 Improve visibility of code editor buttons in the backend (#3948)
Credit to @ayumihamsaki. Fixes #3947.
2018-11-30 16:59:08 -06:00
Ayumi Hamasaki
026ae1e15f Fix Scrolling bug (#3547)
Fixes #3542
2018-05-13 16:32:12 -06:00
Samuel Georges
08a710eb9a Update ace editor 1.2.3 to 1.2.6
Recompile assets
Refs #2570 (without the spam)
2017-06-24 09:01:07 +10:00
Samuel Georges
e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Samuel Georges
aa393dc54b Backend style improvements
This should make Windows PCs look a little nicer, albeit inconsistent with others (Sergoe UI is unique). If it's good enough for GitHub, then it's good enough for October.
All text shadows have been stripped, along with some box shading. They were barely noticeable and should speed up the UI.
2017-05-20 17:37:58 +10:00
Luke Towers
33c2d1c3bb Respect whitespace on disabled codeeditors
This wraps the contents of a disabled codeeditor field in an `pre` element so that the browser renders it respecting the formatting / whitespace of the contents (code in this widgets case) instead of squishing it all down.
2016-11-28 15:35:00 -06:00
Samuel Georges
bb5a44ced5 Add get/set content to code editor plugin
Fixes plain text / snippet editor issue
Fixes #2059
2016-05-29 08:54:22 +10:00
Samuel Georges
a33cf2ac8c Unify z-index's across all controls
Refs #1021
2016-05-21 15:17:14 +10:00
Samuel Georges
066b918d39 Various styling changes
Removed the harsh title on popups
Anything considered an "overlay" now uses a box shading effect
The account menu now uses lighter shading
Introduced highlight states, allowing hover + active to behave independently
2016-05-20 06:33:16 +10:00
Samuel Georges
1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges
51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Lucas Martín
e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges
484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10:55 +11:00
alekseybobkov
aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov
00ced6c79f UI update 2016-02-28 19:52:21 -08:00
alekseybobkov
a943708b99 UI updates 2016-02-19 22:12:41 -08:00
alekseybobkov
e6d93cf3d4 Added YAML mode for the code editor 2015-12-10 21:41:27 -08:00
alekseybobkov
a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
Samuel Georges
beca2dddc2 Fixes the full screen button in code editor 2015-09-25 06:01:59 +10:00
alekseybobkov
83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07:00
alekseybobkov
fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07:00
Samuel Georges
275463996e When toggling empty tabs: if a hidden tab was selected, select the first visible tab
Induce tab overlap using negative right margin instead (first-child tab can be hidden)
Use a slightly cleaner approach than in #1401
2015-08-29 18:42:29 +10:00
Jérémy Gaulin
8152605e5a Fix Emmet expand by forcing syntax to html when editor is set to Twig. 2015-08-27 01:28:43 +02:00
alekseybobkov
c38126ce65 Implemented the oc.tableCellChanged event for the table widget. Added readonly mode support in the code editor widget. 2015-08-25 21:34:21 -07:00
Samuel Georges
8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges
fdbd5d8b3c Update redactor to latest, minor cleanup 2015-07-29 19:17:05 +10:00
Pásztor Gábor
2652503d3f Add searchbox extension to codeeditor 2015-07-14 15:15:21 +02:00
Samuel Georges
061aaa9675 Fixes broken spacebar on code editor 2015-07-06 22:31:44 +10:00
Samuel Georges
7b54d4c7c4 Bundle all the code editor assets to a single file
Also fixes a weird warning coming from Ace editor
2015-06-24 17:36:01 +10:00
Samuel Georges
029411a681 Update ace editor to latest and remove unwanted extensions 2015-06-24 17:29:08 +10:00
Samuel Georges
3e13d22b45 The hotkey for full screen mode is now Cmd+Shift+F or Ctrl+Shift+F in Windows.
Fixes #393
2015-05-09 12:39:37 +10:00
alekseybobkov
20fb98d9a8 Refactoring and improvements in the back-end client-side memory management. 2015-04-28 20:13:04 -07:00
alekseybobkov
57777c0aad Ace editor updated to the latest version. Implemented the back-end controls utility class. Some back-end UI classes are updated and displsable now. Editor tabs on the CMS page now properly free memory and DOM elements when they're closed. 2015-04-25 22:48:49 -07:00
alekseybobkov
0e4db692af Refactored october.hotkey.js, codeeditor.js, richeditor.js. Minor fix in the rich editor styling. 2015-04-25 14:07:22 -07:00
alekseybobkov
6458149cd5 Disposing the code editor 2015-04-22 21:33:07 -07:00
Samuel Georges
0b6587f771 Fixes #1019 - prevents lock out of full screen mode
Reorder system setting items
2015-04-09 20:20:08 +10:00
Pásztor Gábor
12bfc52941 Emmet support for Codeeditor 2015-02-18 20:54:36 +01:00
Samuel Georges
7c5693b298 Added "Auto close tags and special characters" to Code editor preferences. 2015-02-14 19:50:12 +11:00
Samuel Georges
66cc3a852f Minor fix 2015-01-13 17:26:53 +11:00