Edit content by source code

When i edit a text with the source code view
and i create a tag like
<a to="https://digitalfinance.teamsystem.com/incassa-subito" target="blank">Incassa Subito</a>
and i save, when i open again the source code the tag is like this.

<a target="blank" >Incassa Subito</a>

I’ve done things like this usually, but from some days it’s no more possible

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ X] Cloud version

Version: [VERSION]

Browser:

  • [ X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

I would use “href” instead of “to” :wink:

I now, but we used a custom html parser, and i don’t understand why i cant write everything i want in a textfield…

It is just the behavior of the rich text html editor. When you use the source code editor and close it, it parses the html and removes errors. Otherwise it would have a lot of issues keeping invalid html intact when making changes in edit mode.

When you want to use a custom html editor, I would just use the simple html editor or text field.

Yes but untill few day it worked and now we have a lot of content lost.
If i type the tag in the simple html editor the “<” and “>” is convertend in the html code, so we need again to update our parser.

I have not changed something with the rich text editor. I am pretty sure about that. Which editor do you use?

I use markdown, html, richtext and now no one is working like time ago.

Then I have really struggle to understand the exact problem. Can you provide me a step by step description how i can reproduce it?

Ok,give me some time to investigate and provide you with all the information.

Thanks

1 Like

We have solved by edit our parser.
Thanks!

Okay, but I still don’t understand what the source issue is.