![javascript clean text javascript clean text](https://cdn.hashnode.com/res/hashnode/image/upload/v1654597906669/8ZajNSE3W.png)
Just type text normally, as if you were sending an email. This format is best for when you are using normal web forms for entry (instead of using the text editor).
Javascript clean text code#
If you are using the text editor to edit text then this is the default format - all the commands in the toolbar are producing HTML for you.Įven if you are not using the text editor, you can use HTML code in your text and it should come out exactly as you intended.
![javascript clean text javascript clean text](https://i0.wp.com/www.jenniferbland.com/wp-content/uploads/Screen-Shot-2016-11-11-at-10.52.48-AM.png)
This format assumes the text is pure HTML. Be careful about unmatched tags that may mess up the display.Īnything starting with (assuming the Convert URLs into links filter is enabled by an administrator).Your code will normally be printed on the page within a table cell, so: Javascript or VB Script) is not allowed, and will be removed automatically. When writing HTML in Moodle, you are free to use almost any HTML tags you like to produce the effect you want.
![javascript clean text javascript clean text](https://codingdeekshi.com/wp-content/uploads/2022/06/Javascript-Project-to-Generate-Color-Palette-From-Image-in-Browser-Using-HTML5-CSS3.png)
However, if the setting 'Editor preferences' from the user menu top right > Preferences is set to 'Plain text area', then various format options are available in a dropdown menu below the text area. The Text editor is available for all text areas in Moodle and the format is automatically set to HTML format (Atto being the default editor).