Coder Social home page Coder Social logo

moodle-atto_fontfamily's Introduction

Font Family plugin for Atto

Based on atto_fontsize: Andrew Nicols and Adam Jenkins

https://github.com/andrewnicols/moodle-atto_fontsize

Requirements

  • Moodle 3.5

Installation

  • Place in lib/editor/atto/plugins
  • Upgrade your Moodle
  • Navigate to Site administration -> Plugins -> Text editors -> Atto HTML editor -> Atto toolbar settings
  • Add the 'fontfamily' plugin in your location of choice

moodle-atto_fontfamily's People

Contributors

cperves avatar crazyserver avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moodle-atto_fontfamily's Issues

Mobile Phone Problems

Moodle Version 3.8 // Moove Theme

Hi.
I have the following problem: I have added the Wingdings font, When accessing my Moodle from a computer it works correctly, but when accessed from a mobile phone or tablet, the font is changed and it is changed to the default moodle font, it could help me

Inserting any code into the plugin

The weak point of the plugin is: Any code, even from external sources, can be integrated into the pages unfiltered. This code is executed on the end devices of the users (students and teachers). (Category: Remote Code Execution - critical) The risk lies with the administrator. He alone must judge whether the code is problematic or not. (Risk: Very high). Students cannot modify the content.

Is it possible to make adjustments for this to make the plugin more secure?

Screenshot 2023-02-08 095654
@crazyserver @projectes TAC Dep. Educació Catalunya

Moodle 4

Hi, you were so kind as to update the version number on the font family. We are now on moodle 4 and need the version number changed to moodle 4.

Dropdown list persists

Sometimes after using the font picker the drop-down persists on screen, this is an intermittent issue and it has been experienced on a few devices.

font-selection

Auto Update

Hi

We update moodle every week and most of the plugins are detected and updated but Marking Manager is not, it says Missing from Disk and then you have to find it.

Please, can you make it so that it automatically updated when you update moodle as we use a lot of your products?

Thank you

Auto update on 3.11

Hi

I try to update Moodle most weeks with the weekly bug fix release. I have loads of plugins Every plugin that is set to work with 3.11 installs during the installation but any that are not down to work with 3.11 do not and have to be installed manually. I did have 51 plugins that had to be installed manually, taking ages. Having contacted many developers, they have just adjusted the tag to say it support 3.11, like yours Font Family etc for ATTO does and now I only have to install 8, yours being one of them. If you could do with ATTO font size, font family etc, that would be so very very useful. Thank you so much.

changing fontFamily only works for selected text

I have download and install the plugin from https://moodle.org/plugins/view/atto_fontfamily
However, there is a issue.
At the beginning, without changing anything, I type "abcd", It appears to be
default
Then I input "enter" change the cursor to second line, and then I click "Courier"
clickcourier
And type "abcd", it appears like this:
keep the same
Which was not shown in "Courier" family.
Then I select part of the text in second line like this
choose text to change
And click "Courier" button. Now the selected text becomes appeared in "Courier" family.
after changed
I try this on every available font family. They behave the same.
Is this plugin only working for selected text? Or there is some setting I need to do?

"Requires" info missing from JS files

The JS files within /yui/build/moodle-atto_fontfamily-button/ all lack the version info at the end:

-}, '@Version@');
+}, '@Version@', {"requires": ["moodle-editor_atto-plugin"]});

I don't know if this is a special case for our instance, but without this "requires" info Atto crashes when trying to load fontfamily.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.