Notes editor: how to use the 'snippet' tool?

Hi, is there a resource for how to use the tools in the Notes editor
I'm trying to work out how to use the snippet
tool which I initially assumed was a code formatter but doesn't seem to do anything.
I'm accessing the course using Firefox 77.0.1
Thanks for your help.
Answers
-
Hi,
Do you refer to the Notes in the course? I tried with Chrome and it works. Can you provide a screenshot with the error you are getting, please?
Regards,
Luis.0 -
Hi @luisviveropena,
Yes it is the Notes in the course. There is no error displayed on the window but there is an error printed to console.
Error: Failed to create an instance of 'controller:manager/snippets-modal'. Most likely an improperly defined class or an invalid module export. 2 vendor.gulp.bundle.65435eee.js:19:23943 p https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:19 s https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:19 lookup https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:19 controllerFor https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:24 openModal https://d36ai2hkxl16us.cloudfront.net/v3/dist/main-0d1c234495ecca6c46e5.bundle.js:1 x https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:24 l https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:29 trigger https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:29 send https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:24 send https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:24 y https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:23 n https://d36ai2hkxl16us.cloudfront.net/v3/dist/vendor.gulp.bundle.65435eee.js:23 started https://d36ai2hkxl16us.cloudfront.net/v3/dist/main-0d1c234495ecca6c46e5.bundle.js:1
0 -
I've tried in the following browsers and encountered the same error.
Chrome: 83.0.4103.116 (Official Build) (64-bit)
Vivaldi: 2.4.1488.35 (Stable channel) (64-bit)0 -
Hi @GRO 108 , does the rest of the functionalities work well? What happens when you click on Notes? What OS are you running?
I don't see this kind of issue, but I can pass the information and report the issue.Regards,
Luis.0 -
wrt the snippet tool there is another error output to the console that I'd missed.
Error: Failed to create an instance of 'controller:manager/snippets-modal'. Most likely an improperly defined class or an invalid module export. 2 vendor.gulp.bundle.65435eee.js:19:23943
Other issues I've encountered. I can't see any errors for these so they may be usability issues.
- can't delete tables
- After adding an unordered I can't add text to it (but I can add text and then format as an ul)
Feature request (where is the best place to make these?): markdown in notes
0 -
@GRO 108 Thank you for the feedback. I have tested all this functionality on my laptop, and everything works as expected (creating/deleting tables, adding text, bullet points, printing as a pdf, etc), with no errors. Can you please advise what OS are you using?
Also, for editing notes, please keep in mind you can always do so using the html editor.
Regards,
Flavia
The Linux Foundation Training Team0 -
I am using the same OS version and have no issues on Chrome. Did you try clearing your cache first?
0 -
Thanks for your help @fcioanca but using Chrome with a cold cache I'm still getting the error.
Here's a bug report, is there another forum or resource related specifically to the LMS that I should post this to?
h3. Steps to reproduce
- As a logged in user
- navigate to notes
- add a new note
- edit note
- select snippet tool
h3. Expected result
Snippets modalh3. Actual result
nothing - the following errors are logged to the console.[bugsnag] Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/y94fq5zm Uncaught Error: Failed to create an instance of 'controller:manager/snippets-modal'. Most likely an improperly defined class or an invalid module export. at p (vendor.gulp.bundle.65435eee.js:19) at s (vendor.gulp.bundle.65435eee.js:19) at r.lookup (vendor.gulp.bundle.65435eee.js:19) at r.controllerFor (vendor.gulp.bundle.65435eee.js:24) at r.openModal (main-b90108f7d1c421a7233b.bundle.js:1) at u.x [as triggerEvent] (vendor.gulp.bundle.65435eee.js:24) at l (vendor.gulp.bundle.65435eee.js:29) at u.trigger (vendor.gulp.bundle.65435eee.js:29) at r.send (vendor.gulp.bundle.65435eee.js:24) at r.send (vendor.gulp.bundle.65435eee.js:24)
0
Categories
- 8.8K All Categories
- 13 LFX Mentorship
- 66 LFX Mentorship: Linux Kernel
- 357 Linux Foundation Boot Camps
- 228 Cloud Engineer Boot Camp
- 68 Advanced Cloud Engineer Boot Camp
- 23 DevOps Engineer Boot Camp
- 5 Cloud Native Developer Boot Camp
- 736 Training Courses
- 14 LFC110 Class Forum
- 16 LFD102 Class Forum
- 96 LFD103 Class Forum
- 2 LFD121 Class Forum
- 55 LFD201 Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- 14 LFD254 Class Forum
- 424 LFD259 Class Forum
- 78 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 15 LFS200 Class Forum
- 685 LFS201 Class Forum
- LFS201-JP クラス フォーラム
- 271 LFS211 Class Forum
- 50 LFS216 Class Forum
- 23 LFS241 Class Forum
- 26 LFS242 Class Forum
- 18 LFS243 Class Forum
- 4 LFS244 Class Forum
- 7 LFS250 Class Forum
- LFS250-JP クラス フォーラム
- 105 LFS253 Class Forum
- 754 LFS258 Class Forum
- 7 LFS258-JP クラス フォーラム
- 48 LFS260 Class Forum
- 75 LFS261 Class Forum
- 6 LFS262 Class Forum
- 76 LFS263 Class Forum
- 14 LFS264 Class Forum
- 10 LFS266 Class Forum
- 8 LFS267 Class Forum
- 8 LFS268 Class Forum
- 5 LFS269 Class Forum
- 173 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 184 LFW211 Class Forum
- 100 LFW212 Class Forum
- 876 Hardware
- 205 Drivers
- 74 I/O Devices
- 43 Monitors
- 115 Multimedia
- 204 Networking
- 98 Printers & Scanners
- 82 Storage
- 716 Linux Distributions
- 78 Debian
- 64 Fedora
- 12 Linux Mint
- 13 Mageia
- 22 openSUSE
- 125 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 344 Ubuntu
- 445 Linux System Administration
- 33 Cloud Computing
- 63 Command Line/Scripting
- Github systems admin projects
- 88 Linux Security
- 73 Network Management
- 105 System Management
- 45 Web Management
- 50 Mobile Computing
- 18 Android
- 19 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 499 Off Topic
- 119 Introductions
- 193 Small Talk
- 19 Study Material
- 743 Programming and Development
- 237 Kernel Development
- 472 Software Development
- 899 Software
- 245 Applications
- 178 Command Line
- 2 Compiling/Installing
- 72 Games
- 313 Installation
- 19 All In Program
- 19 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)