Skip to content

The HTML Bootstrap editor makes it possible to create a much more attractive and ergonomic layout.

License

Notifications You must be signed in to change notification settings

ecottis/moodle-atto_reciteditor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

This repository is deprecated.

The new version of the HTML Bootstrap Editor can be found at these 2 links below:

https://github.com/SN-RECIT-formation-a-distance/moodle-tool_htmlbootstrapeditor

https://github.com/SN-RECIT-formation-a-distance/moodle-atto_htmlbootstrapeditor

atto_reciteditor

The HTML Bootstrap editor allows you to create a much more attractive and responsive layout. It is based on the Bootstrap 4 framework and its drag-and-drop usage makes it easy to integrate content into Moodle. It offers a wide range of elements (text, image, Youtube video, embed elements, etc.) commonly used today. This editor meets the first level of accessibility standards and ensures a consistent presentation of content, regardless of the type of device used: computer, tablet or smartphone.

Dependencies

  • Bootstrap 4.6
  • jQuery
  • FontAwesome

Non-standard post-installation steps

After installing this plugin, it is necessary to place it in the Atto bar.

Showcase

https://github.com/SN-RECIT-formation-a-distance/html-bootstrap-editor-showcase

Pixabay API

To make the Pixabay feature available inside the editor, the administrator must:

  1. Create a Pixabay account, which will generate an API key automatically
  2. Copy the generated API key in the 'Parameters' section on this page: https://pixabay.com/api/docs/
  3. Assign the atto_reciteditor setting pixabaykey.

CSS loading

By default, the editor will load the main CSS file compiled by Moodle. However, if you want to use your own styles, you have the option to use inline CSS or external CSS files.

To use inline CSS or an external CSS file with the editor, you will need to add the title attribute to your style tag and specify the value of the title attribute in the stylesheet_to_add setting. For example, you might write something like this:

<style title="example" href="path/to/external/css/file">

This will tell the editor to load the specified CSS file (in this case, "example") when it is rendering the content of the editor canvas.

About

The HTML Bootstrap editor makes it possible to create a much more attractive and ergonomic layout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.2%
  • PHP 12.3%
  • SCSS 3.9%
  • Other 0.6%