GithubHelp home page GithubHelp logo

Help! about moodle-block_jmail HOT 5 CLOSED

jleyva avatar jleyva commented on September 5, 2024
Help!

from moodle-block_jmail.

Comments (5)

jleyva avatar jleyva commented on September 5, 2024

Hi, please, edit your profile and choose there an editor (the new one Atto or the old one Tiny), let me know if it works.

(Remember to delete your browser cache)

from moodle-block_jmail.

nachoan avatar nachoan commented on September 5, 2024

You are right.
If user has "default editor" the block stops loading the html editor, if I check it in his profile and force one of them then there's not problem.

We haven't got any problem before but I would change it for all users in DB to force one of the hmtl editors

Thanks.

from moodle-block_jmail.

nachoan avatar nachoan commented on September 5, 2024

Hi,

I think the change you made in 711bda2 could be the issue.

mailbox.php lines 97 to 100 doen't read the editor if user profile is set as' default'
No problem when user profile set one of the html editors.

Code:
711bda2#diff-4c1d6e2a061025dbb1c90a82f4ba37f5

from moodle-block_jmail.

jleyva avatar jleyva commented on September 5, 2024

But in module.js I do the following:

if (cfg.version >= 2014051200 && cfg.editor != 'tinymce') {
elementsToEval = ["Y.use("moodle-core-formchangechecker"","Y.use('core_filepicker'", "Y.use("moodle-editor_atto-editor"","Y.use('form_filemanager'","Y.use('form_filemanager'"];
}

If the editor is not equal to tinymce I use atto (that I think is the default). So if the editor is set as "" or null or something it assumes you are using atto

I'm not sure if in Moodle you can say that there is a default editor? is that possible, I cant find an option

from moodle-block_jmail.

jleyva avatar jleyva commented on September 5, 2024

This commit fix the issue:

39e5f5e

The default editor is the first in order (in the manage editors page)

from moodle-block_jmail.

Related Issues (10)

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.