Skip to content

Commit

Permalink
fix gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuletpol committed Jan 31, 2025
1 parent b4ace9e commit c9d421e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,19 @@ The plugin also integrates with the [htmlfy](https://github.com/j4w8n/htmlfy#rea

## Configuration

This plugin includes the following user configuration options:
Administradors can set these options

<img src="./pix/pict06.png" alt="Administrator options" style="max-width:350px;">

Additionally, the capability `tiny/codepro:viewplugin` controls visibility for specific roles.

Regular users can configure:

- **Default UI Mode**: Choose between "Dialog" and "Panel" mode.
- **User Mode Switching**: Allow users to switch UI modes.
- **Theme Selection**: Set a default theme or allow users to toggle between light and dark modes.
- **Font Size Configuration**: Adjust font sizes for better readability.

Additionally, the capability `tiny/codepro:viewplugin` controls visibility for specific roles.

## Build & Development

### Generate AMD Modules
Expand Down
Binary file added pix/pict06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

if ($hassiteconfig) {
$pluginname = 'tiny_codepro';
$ADMIN->add('editortiny', new admin_category('tiny_codepro', new lang_string('pluginname', $pluginname)));
$ADMIN->add('editortiny', new admin_category('tiny_codepro', new lang_string('pluginname', $pluginname)));

if ($ADMIN->fulltree) {
$settings->add(new admin_setting_configcheckbox(
'tiny_codepro/autoprettify',
Expand Down

0 comments on commit c9d421e

Please sign in to comment.