Skip to content

Commit

Permalink
Non-YUI version: Update readme file, fix ci workflow and phpdocs issu…
Browse files Browse the repository at this point in the history
…e #800212
  • Loading branch information
AnupamaSarjoshi committed Dec 3, 2024
1 parent d70f2c3 commit 4249517
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,29 @@ jobs:
fail-fast: false
matrix:
include:
- php: '8.1'
- php: '8.3'
moodle-branch: 'main'
database: 'pgsql'
- php: '8.0'
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.3'
moodle-branch: 'MOODLE_405_STABLE'
database: 'mariadb'
- php: '8.0'
moodle-branch: 'MOODLE_401_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_404_STABLE'
database: 'pgsql'
- php: '7.4'
moodle-branch: 'MOODLE_400_STABLE'
database: 'mariadb'

services:
postgres:
image: postgres:13
image: postgres:14
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 3
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3

mariadb:
image: mariadb:10
Expand Down
8 changes: 1 addition & 7 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,7 @@ public function supports_repositories() {
return false;
}

/**
* Use this editor for given element.
*
* @param string $elementid
* @param array $options
* @param null $fpoptions
*/
#[\Override]
public function use_editor($elementid, ?array $options = null, $fpoptions = null) {
global $PAGE, $OUTPUT;

Expand Down
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ and keeping the results HTML as clean as possible.
* Prevent nesting of superscript and subscript tags
* No text wrapping is allowed along with no paragraphs. Everything is on one line
* Configurable height and width of editor
* Provide a standalone version of the same editor for offline situations such as e-readers
* Editor can placed where required including inline with text
* Editor can be placed where required including inline with text

## Alignment

Expand Down

0 comments on commit 4249517

Please sign in to comment.