PublicLab.Editor
PublicLab.Editor copied to clipboard
Clicking on "read more..." takes to https://publiclab.github.io/PublicLab.Editor/examples/
Please describe the problem (or idea)
Some more content about the title should be provided
Please show us where to look
https://publiclab.github.io/PublicLab.Editor/examples
What's your PublicLab.org username?
niravasher
Browser, version, and operating system
ubuntu 19.04
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
The read more below the title goes to editor official website. @VladimirMikulic
We should fix this. Maybe displaying a modal that shows guidelines for the best title?
Ok, working on this
"read more" Has been imported from the titleModule inside modules folder. Attaching an onclick function to this gives an error. What should I do ? @VladimirMikulic
You can simply modify the line 25 from the title module to suit our needs.
Simply modify line 25 as in you want to link to a new page like https://publiclab.org/wiki/power-tags or open up just a new modal. Because opening up a new modal, I need to create static HTML and CSS for modal and access that from publiclab.titleModule.js and then have close functionality. @VladimirMikulic @vaibhavmatta
@niravasher you can use existing Bootstrap classes to display a modal. There is no need to code a custom modal.
Works