CottageLabs/cl

allow javascript in page content

Closed this issue · 4 comments

In an experiment to see if I could enhance the projects page, I embedded some javascript in the page. When I saved this, it destroyed the page layout, and has stopped the page from being editable, so am unable to fix the issue. See /projects

fixed as per our previous conversation, but the overall problem has not been dealt with yet. will keep this ticket to track. either will make js in the editor work, or just make it a rule not to embed code.

removing from current milestone, changing from a bug to an enhancement - embedding js in the page content is just not possible at present.

probably resolve this by enabling in page settings a reference to a js file for given page - also keeps js out of the proper page content, which is better.

Fixed. Can write it in the page. Via dynamic loading can also be written to a separate page then pulled in dynamically.