abgreeve / tiny_stash Goto Github PK
View Code? Open in Web Editor NEWA Moodle plugin that adds a button in TinyMCE to add block_stash item snippets
A Moodle plugin that adds a button in TinyMCE to add block_stash item snippets
when a student tries to access the editor (e.g. question type essay or assignment - submission type online text) with the plugin installed, it breaks the site.
There is no capability associated with the tiny_stash plugin but students should not have access to this plugin in the editor.
Error:
line 875 of /lib/accesslib.php: required_capability_exception thrown
line 912 of /blocks/stash/classes/manager.php: call to require_capability()
line 485 of /blocks/stash/classes/manager.php: call to block_stash\manager->require_manage()
line 133 of /lib/editor/tiny/plugins/stash/classes/plugininfo.php: call to block_stash\manager->get_items()
line 80 of /lib/editor/tiny/classes/plugin.php: call to tiny_stash\plugininfo::get_plugin_configuration_for_context()
line 72 of /lib/editor/tiny/classes/manager.php: call to editor_tiny\plugin::get_plugin_info()
line 58 of /lib/editor/tiny/classes/editor.php: call to editor_tiny\manager->get_plugin_configuration()
line 149 of /lib/editor/tiny/classes/editor.php: call to editor_tiny\editor::set_default_configuration()
line 340 of /question/type/essay/renderer.php: call to editor_tiny\editor->use_editor()
line 56 of /question/type/essay/renderer.php: call to qtype_essay_format_editor_renderer->response_area_input()
line 403 of /question/engine/renderer.php: call to qtype_essay_renderer->formulation_and_controls()
line 108 of /question/engine/renderer.php: call to core_question_renderer->formulation()
line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
line 908 of /question/engine/questionattempt.php: call to question_behaviour->render()
line 461 of /question/engine/questionusage.php: call to question_attempt->render()
line 1341 of /mod/quiz/classes/quiz_attempt.php: call to question_usage_by_activity->render_question()
line 1303 of /mod/quiz/classes/quiz_attempt.php: call to mod_quiz\quiz_attempt->render_question_helper()
line 551 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\quiz_attempt->render_question()
line 488 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\output\renderer->attempt_form()
line 144 of /mod/quiz/attempt.php: call to mod_quiz\output\renderer->attempt_page()
Thanks for fixing the error!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.