简体   繁体   中英

Changing JavaScript for Code Editor Plugin

I am trying to add a code editor to a webpage. I have found an almost perfect one called Editarea , and I would like to use it. I need help changing something about it for the way I want to use it on the webpage. It seems like it uses advanced (at least for me) JavaScript to generate what renders on the page. My JavaScript is a little rusty, and I need help to get its display just like I want. What I want is not to display any toolbar areas on the top or bottom. I do not need the toolbar because the user will set up the toolbar area controls options. Can someone take a look at this and see if they edit it to render as I want. Thanks

I have figured this out. At the bottom of the only JS file it links to in the head there is what becomes rendered by JavaScript CSS. Because I am rusty I had forgotten about using a code unminifier to see JS code clearly. Once I could read the code it was easy to do what I wanted. If anybody needs help to see the code that I changed to turn off the display of the toolbar I will gladly share. Phil

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM