November 3, 2015 at 2:59 am #301579
Allrighdie guys and gals.
This worked fine for me in Lectora Inspire 11, and also got it working in Online 3.
The thing i bump into now is, that i donot like the efficiency of my workflow in Online.
Going in and out scripts a lot in L11, previewing and finetuning it…
Well that does not work as good and fast in Online3 anymore. At least my workflow.
i might overlook a simple setup that helps me.
MathNovember 3, 2015 at 3:45 pm #301597
Thanks for the feedback. Is it the time for page preview (in browser) that is making your workflow inefficient? I am curious because we are looking at a few enhancements to make it easier for authors to weave in scripting and I hadn’t really thought of this issue.
We realize it is way more efficient to be able to do this in Lectora Online. I sometimes use the browser debugger to try out specific statements when I am doing a page preview. I imagine you use the browser debugger already, but for people who don’t it might be something to learn about.
I am really glad you are posting your feedback here! We want to make it as easy as possible to enhance your courses with all the technologies that are available.
Joe – Lectora Online TeamThis post has received 1 vote up.November 4, 2015 at 12:20 am #301607
Thx for your reply. Good tip anyway about the download of content. Never thought of that one 🙂
Indeed the time needed for a preview is hindering my workflow.Also the fact i cannot change an existing JS file once i imported it in Lectora Online is a nuisance. Thus need to change it offline, upload and replace it ( as a additional file in my project )
Furthermore the difference in html-names between Lectora Online and Lectora Inspire/Publisher ( version 11 and Beta 16 ) is not nice. No chance of creating tests in Inspire/Publisher that then work flawless in Online. Online uses tobj for all html-names whereas Inspire/Publisher have image and text as preset for all html-names.
Another missing step in Online is the preview for a specific browser. I do know ( read that in another post onhere somewhere ) you can copy and paste the output-link to another browser.. but having the option of directly sending it to your browser of choice would be better and quicker.
Sergey SnegirevMember336 pts@ssneg
My desktop workflow for scripts is simple:
1. Create a “my-custom-scripts.js” file, attach it to Lectora project, initialize it with Ext HTML Object.
2. Open the file in Sublime (Notepad++, Brackets, what have you) and edit it in there.
If I had to re-upload the edited file every time, that would make my workflow a nightmare.
Ideally, I’d see a way to edit the script file online (just like I can edit images online) in a convenient editor. Doesn’t have to be the most powerful editor of all times with code autocompletion etc. Here’s a list of basic features I would like to see:
1. Monospaced font
2. Pressing Tab key creates a 2 spaces instead of jumping from the text input field to OK button.
3. JS Syntax highlighting (e.g. https://highlightjs.org/)This post has received 1 vote up.November 4, 2015 at 7:12 am #301620
Totally agree with Sergey.
My desktop workflow is exactly like his. Using a JS to include several libraries and custom scripts.
Also use Sublime.November 5, 2015 at 1:38 pm #301698
Andrew GaudetModerator6 pts@agaudet1236
If you guys know of any online editors that would cater to those needs let me know for sure. I’ll start looking also as I agree that would be a great addition along side our other external tools. If not I guess i’ll have to make it 🙂
I’ll add this as a user story to our list of enhancements so that we can consider it for future updates (and brainstorm).November 5, 2015 at 1:51 pm #301701
Codepen is the online editor Greensock suggests whenever users of GSAP have issues or questions. Works quite well.November 6, 2015 at 2:04 pm #301741
We do have an improvement issue in our backlog for this(LO-1896). Thanks for all the great input.March 14, 2016 at 2:23 pm #306826
As of Lectora Online 3.0.3 we have the ACE editor integrated for editing your scripts.March 14, 2016 at 3:13 pm #306827
Thx Joe, great.. any plans for integrating it in Inspire too ?March 21, 2016 at 9:14 am #306927
That’s the plan, we are looking at what makes sense for that platform (desktop). Darin definitely want’s to get this in.
You must be logged in to reply to this topic.