GithubHelp home page GithubHelp logo

Comments (4)

jaredreich avatar jaredreich commented on August 24, 2024

Thanks for your issue. I feel like this is a rare edge case of how the browser's contentEditable and execCommand work. Try doing some investigation and see what you can come up with. Thanks!

from pell.

DisableAsync avatar DisableAsync commented on August 24, 2024

im sorry but im not a web developer, dont know these aspects
but this does not seemed to like a small issue, i tried several free/tiny WYSIWYG editors, they all have the same problem.

from pell.

zelon88 avatar zelon88 commented on August 24, 2024

It depends how you're saving and loading the files.

Pell alone cannot save or load files. So whatever you're using to get this data into and out of Pell might be sanitizing out certain characters.

Lets say the wrapper you're using to save/load files with Pell was written with PHP. The developer of the wrapper would have to remove or encode some of the content being saved, and then rebuild/decode the data when Pell loads it again. Otherwise, if you were to create a file with pell containing.....

<?php echo 'Hello World; ?>

... The wrapper would parse (run) the data as code instead of content. This could create a major security problem. Documents could be crafted by hackers to compromise the server Pell is running on, and that would be bad.

If you had more information about the system you're using to save/load files with Pell we could offer more relevant assistance.

from pell.

DisableAsync avatar DisableAsync commented on August 24, 2024

i just insert the data grabbed from editor.content.innerHTML into mysql using prepare statement.
and then restore it back through assigning editor.content.innerHTML directly.
i tried to assign to a normal textarea, and it displays the html text correctly.
(im not a web designer, knowing a little about html and php, dont know whether these two things can be compared or not)

from pell.

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.