Dan Brown
642db1387e
Updated wysiwyg code-block insert flow to be mouseless
...
- Can now save a code block with Ctrl+Enter.
- Codemirror will be in focus on popup show.
- TinyMCE will get back focus on code save.
For #1972
2020-04-05 21:55:31 +01:00
Dan Brown
56be10f1cd
Merge branch 'perl_syntax_highlight' of git://github.com/Iyeyasu/BookStack into Iyeyasu-perl_syntax_highlight
2020-03-06 19:54:15 +00:00
JHenneberg
0df0227ad4
Added support for Fortran language
...
sorted import alphabetically
2020-02-07 13:45:19 +01:00
D4rt
b059744fb5
Add Perl syntax higlighting to code editor
2020-01-19 07:41:18 +02:00
Dan Brown
cf743370a8
Updated code block lang order and added extra pascal option
...
- Fixed modal window sizing/positioning to be properly center and
responsive.
Related to #1730
2019-12-27 17:14:34 +00:00
Dan Brown
891dbfe085
Merge branch 'master' of git://github.com/albergoniSivaf/BookStack into albergoniSivaf-master
2019-12-27 17:03:10 +00:00
Albergoni Andrea
48c44958f5
Added support for Pascal language
2019-10-18 16:34:38 +02:00
Dan Brown
b09ea76b8d
Renamed properties input option as INI
...
- Also made INI be recognised as the codemirror "Properties" format.
2019-10-17 21:16:55 +01:00
Connor O'Shea
4ad43b1a1f
Add support for properties
2019-09-15 20:22:26 -04:00
Dan Brown
ae93a6ed07
Converted primary color use to css variable
...
- Removed all existing SCSS usage of primary color.
- Cut down custom styles injection to just be css vars.
- Reduced button styles so default button is primary.
- Updated button styles to lighten/brighten on hover & active states even
when a custom color is set.
- Removed unused scss color vars.
- Updated default BookStack blue to achieve better accessibility.
2019-08-25 12:40:04 +01:00
Dan Brown
b27a5c7fb8
Made a mass of accessibility improvements
...
- Changed default focus styles
- Updated dropdowns with keyboard navigation
- Updated modals with esc exiting
- Added accessibility attirbutes where needed
- Made many more elements focusable
- Updated hover effects of many items to also apply when focused within
Related to #1320 and #1198
2019-08-24 18:29:02 +01:00
Dan Brown
8c21b5345d
Cleaned up usage of some core scss files
2019-04-07 11:34:40 +01:00
Dan Brown
0a06e2bce3
Actioned some todo items, Cleaned old grid css
2019-04-07 09:57:48 +01:00
Dan Brown
e471d0c52a
Added lua to code languages
...
Closes #1223
2019-03-02 08:52:14 +00:00
Christopher Tran
77d3bd31a6
add powershell code block link
2019-02-06 01:06:59 -05:00
Abijeet
f2c62765ca
Adds overflow:auto to popup content to allow it to scroll in lower res.
...
Fixes #650
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-01-06 01:41:06 +05:30
Dan Brown
2a069880cd
Converted jQuery bits into raw JS components
2017-08-06 21:08:03 +01:00
Dan Brown
de6d8a811c
Added quick lang-selection options to code editor
2017-07-01 15:50:28 +01:00
Dan Brown
968e7b8b72
Finished off main functionality of custom tinymce code editor
2017-07-01 13:23:46 +01:00