I am trying to add some JavaScript/ Style inside HTML rich text editor field in SharePoint 2013, as we can add in the content editor but it strips all script tags.
I tried embedding script inside HTML rich text editor field but it is not working and it also visible as normal text in a browser.
We have an HTML rich text editor field where we add description text which can have some anchor tags, we want to add a javascript function on onclick event in the anchor tag. We don't want to add any function to Page Layout/ Master Page. Neither wants to add a link to any JavaScript files, as we have lots of pages and calling the function by id will not be a good solution. Please advise.