Code Monkey home page Code Monkey logo

Comments (4)

br41nslug avatar br41nslug commented on June 11, 2024 1

The WYSIWYG is intended to write HTML content. The entity encoding is enabled by default for the best compatibility with the web and underlying databases.

To disable entity encoding you can set the "entity_encoding" option of TinyMCE https://www.tiny.cloud/docs-3x/reference/Configuration3x/Configuration3x@entity_encoding/

image

from directus.

jsalichos avatar jsalichos commented on June 11, 2024

Thank you,

I just came to the same conclusion by reading carefully the docs. In fact I came back to update the issue
I use:
{
"selector": "textarea",
"entity_encoding": "raw"
}

Maybe the selector is not needed.

It would be nice though to have this functionality as a general setting for projects for countries that do not use latin characters,

from directus.

br41nslug avatar br41nslug commented on June 11, 2024

It would be nice though to have this functionality as a general setting for projects for countries that do not use latin characters,

It really depends on whether your database is configured to support non-latin chars and how you're using the content. If you're rendering it in a webpage then having the non-latin characters encoded will ensure it is rendered correctly on any browser (else you could theoretically end up with those beautiful question mark characters ���).

from directus.

jsalichos avatar jsalichos commented on June 11, 2024

It's not about displaying the text. It is about being able to search text content either by using db queries or full text search.

from directus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.