Commit graph

31 commits

Author SHA1 Message Date
tadhgboyle
4c26e2fff9
Allow selecting different font in editor (#3616) 2025-04-25 00:32:04 -07:00
tadhgboyle
0c80570609
Enable StyleCI (#3475)
* Create StyleCI config file

* Disable `phpdoc_separation`

* Apply fixes from StyleCI (#3476)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* style: styleci fixes

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-03-09 11:19:55 +00:00
Sam
efdb8cc1da
Allow all tinymce valid_children when admin (#3144) 2022-12-28 17:18:16 +01:00
samerton
b6948b6181 Do not verify HTML in TinyMCE for admins 2022-11-26 20:45:41 +00:00
Tadhg Boyle
2b283d76f4
Fix TinyMCE spoiler plugin url (#3088)
* Fix TinyMCE spoiler plugin url

* Support subdirectories

Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
2022-10-17 20:18:19 +01:00
Supercrafter100
6f38627d05
Only show source code option in staffcp pages for TinyMCE (#2944)
* Only show source code option in staffcp pages for TinyMCE

* Support all editors in staffcp
2022-07-25 17:09:56 +01:00
samerton
2987ac1e34 Add custom page render hooks + move mentions parser to core module 2022-07-20 19:18:29 +01:00
Tadhg Boyle
3ff3040e8e
Fix PHPStan 2022-07-06 15:39:30 -07:00
Tadhg Boyle
8e7e98deaa Add font size selector to TinyMCE 2022-06-30 23:24:28 -06:00
Supercrafter100
3478e9327e
Fix subdirectory installation issues (#2867) 2022-06-15 07:56:38 -06:00
Tadhg Boyle
3b1bfa654a Fix TinyMCE to not have to rely on dark mode constant 2022-06-12 16:08:59 -06:00
Tadhg Boyle
55a7dd3ecc
Template asset rework (#2670)
* initial work

* more conversion

* more conversion

* more conversion

* update link to prism light css

* fix bootstrap popperjs dep

* delete unused assets, update deps, misc fixes

* fix phpstan

* fix phpstan

* actually fix phpstan

* validate prism dependency

* Initial swap to yarn

* Add `core/assets/vendor` dir

* Misc fixes + use TinyMCE & Select2 from npm

* Fix prism path

* Remove `bootstrap-datepicker`, hasn't been used since old Default template

* Rename AssetResolver method `resolve` to `include`

* Missing version numbers

* Fix JQuery path during installer

* Updates

* Remove old code

* Remove old code

* Remove unneeded double asset

* Remove unneeded double asset

* Fix Bootstrap path

* PR comments
2022-05-09 12:16:04 -06:00
Sam
9cc6563f32
Render post event (#2662)
* Add render post event

Includes colour coded and interactive user mentions, fixed html code blocks, pagination fixes

* Add default value to createTinyEditor content parameter

* Template cleanup

* Remove debug echo
2022-04-02 17:44:13 +01:00
Tadhg Boyle
e0504f3728 Fix query url to support friendly URLs 2022-03-31 10:58:40 -07:00
Tadhg Boyle
bf8875c150 Lookup by nickname instead of username 2022-03-31 08:56:22 -07:00
Tadhg Boyle
9f8b53588e Swap to query file instead of API endpoint for mentions 2022-03-31 08:44:30 -07:00
Tadhg Boyle
0237c73c55 Cleanup suggestion sorting 2022-03-30 22:04:50 -07:00
Tadhg Boyle
41990f79b7 Fix custom avatars being shown too big 2022-03-30 21:55:19 -07:00
Tadhg Boyle
a6d0b66b7e Add mention suggestions in TinyMCE 2022-03-30 21:15:17 -07:00
Tadhg Boyle
d22acc1240
Allow uploading images through TinyMCE image uploader! (#2653)
Co-authored-by: Partydragen <adrian_kili@outlook.com>
2022-03-30 10:55:27 -07:00
Tadhg Boyle
a355d43a3e Fix code style + reorder TinyMCE 2022-03-26 22:04:01 -07:00
Tadhg Boyle
24e4a8c830 Don't use TinyMCE Twemoji database (for now) 2022-03-26 11:25:19 -07:00
Tadhg Boyle
c545f6381d Swap to Twemoji 2022-03-26 10:55:29 -07:00
Tadhg Boyle
b56e35b677
Remove markdown + CKEditor (#2638) 2022-03-26 10:16:18 -07:00
Robin
68ea0e5931 Remove font size selector #2552
approved by aber
2022-02-27 19:01:54 +01:00
Robin
f41715c34b Fix #2552 2022-02-27 18:42:45 +01:00
Tadhg Boyle
94e64c1207
Add PHPDocs to core classes for new class docs site (#2602) 2022-02-14 20:48:15 -08:00
Tadhg Boyle
ad17142a16
Misc cleanup (#2566) 2022-01-15 15:18:05 -08:00
Tadhg
e0133a5cd5 Get PHP-CS to pass! 2021-12-07 22:14:12 -08:00
Tadhg Boyle
eb75afd696
Add github action for PHPStan analysis (#2519) 2021-12-05 08:18:19 -08:00
Tadhg
5efb0ac5e4 rename Support to Core as per discussion 2021-10-28 09:25:19 -07:00
Renamed from core/classes/Support/Input.php (Browse further)