Raw Html in a Multi line field

I created a new field in a template. it is a  Multi-Line Text(name is raw-Html).

I created a component and added on the page. I go to experience editor. click on the component to edit it. The raw html field comes up. i 

add the html markup and save. instead of showing HELLO it shows the whole HTML markup.

 

I want to add HTML markup in the field and it should spit out the  text

example we should enter this in the Multi-Line Text

<html>
<head>
</head>
<body>
<p>Hello</p>
</body>
</html>
 
it should spit out HELLO.
 
this is how i am using in jss
<p class="" *scText="rendering?.fields?.raw-Html" ></p>
 
using sitecore ver 9.3
  • Multi-Line field is for plain text so I assume try with having Rich-Text instead.
  • In Sitecore 6.6 Update-3, the <renderField> pipeline was modified to HTML encode the field value when rendering single-line or Multi-Line Text fields (ref. no. 327905).

    You can change that with the <setting name="Rendering.HtmlEncodedFieldTypes" value="text|single-line text" />
    But perhaps beter to use the Rich Text field, or creat a custom field type. See www.stockpick.nl/.../