How to have tiny MCE output without the <strong> tags etc being displyed on web page - tinymce

I have put the tiny MCE editor into my Sveltekit app. It works fine except when I write text inside the editor for example: This is bold. The output that is displayed on the webpage includes the tags "This is <strong>bold</strong>" How can I display formatted text without the tags?

Related

How can I omit html tags with displaying rte content on the TYPO3 frontend?

I'm querying the text from an RTE (rich text editor) with fluid, so it gets displayed with the frontend, including the HTML tags (used with the RTE). How can I omit those HTML tags (and instead get them evaluated)? Why get they even displayed (as plain text)? I'm using the RTE with a custom content element. Should I review that element?
Variables in Fluid are passed through htmlspecialchars by default when used directly in the template. To output HTML input in the backend RTE you need to surround it with a <f:format.html> tag. For example: <f:format.html>{myVariable}</f:format.html>. This also does things like add p-tags if needed, replace <link...> tags with actual links, etc. More on this ViewHelper you can find at https://docs.typo3.org/other/typo3/view-helper-reference/master/en-us/typo3/fluid/latest/Format/Html.html
If you want to add a variable as is, without any processing, you should surround it with a <f:format.raw> tag. For example: <f:format.raw>{myVariable}</f:format>. More on this ViewHelper you can find at https://docs.typo3.org/other/typo3/view-helper-reference/master/en-us/typo3fluid/fluid/latest/Format/Raw.html

How do I replicate the tinymce link plugin's HTML markup behavior by adding succeeding text outside of the current node instead of inside?

When the user adds a link on selected text, it adds the URL markup only on the selected section and doesn't add the markup to any added text (after the markup is added) if the linked text is at the end of the string. This behavior differs from bold/italics/underline which adds added text to the bold/underline markup if the user adds more text at the end of a string.
I am implementing a custom button that should emulate the behavior of the link plugin. I have gone through the link/plugin.js file to no avail for which code block I need to re-use to get this behavior for my custom button.
How do I implement the link plugin's markup behavior? Are there any tinyMCE commands I should be using (setAttribs, etc)?
Video example of bold vs link plugin

Tiny MCE - Stopping wrapping of images

I am using the TinyMCE Editor, after some Googling it is apparent that the editor needs a root element, which by default is a paragraph.
So everything wrapped in a p tag <p></p>
However, I don't want my images to be wrapped in a paragraph as I want them to be a standalone item.
I know you can strip all p tags but can you be selective with the imagery?
There's currently no way to do this within TinyMCE. You could always strip the root <p> tag on content export.

How to use bold html tag in ireport 4.5.0

I'm using some html tags in my text to generate a pdf with Ireport 4.5.0.
On the textfield I checked Markup with HTML so, when I use <b> or <strong> doesn't work in my pdf. My words doesn't appear in bold....with underline works fine...
What I missing?
I thought just put markup html my pdf will work but it's not going on right way.
Sorry my english!

How to use Rich Text Editor in AEM web page

I am creating a form, and in that I need to input some text and I want to use Rich Text editor in it.
When that page is published, then the user must be able to enter the text using that rich text format, i.e. Bold, italics, bullet number list etc .
How can i use the AEM rich text editor in it. I know I can include any other free editor available in the market.
I like to know that how can I use the rich text editor which is used in dialog by AEM?
You need to use a existing richtext editor in front end side like a field in the form. For example: wysihtml5