Comments (4)
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.
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.
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.
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)
- is find and replace possible? HOT 1
- Insert table command HOT 3
- Cursor Control? HOT 3
- Hi ! There's way to get div id on onChange event ? HOT 1
- Initial value? HOT 1
- Text copied with format may break the text editbor behaviour
- How to bring Pell actionbar at the bottom of editor HOT 1
- a isssue when input Chinese language HOT 2
- How to add color picker to the editor? HOT 2
- How do I set default content inside .pell-content ? HOT 3
- Can't delete custom elements HOT 3
- Can user edit previously stored content in WYSIWYG mode? SOLVED HOT 1
- Suggestion: allow the custom action icon to be a function HOT 1
- Does it support attachting base64 image ? HOT 7
- Initialization fails on hidden DIV HOT 1
- Insert HTML code into editor?
- BUG: Third party input method initial letter malposition
- DOC: Vue3.2 composition example + suggestion HOT 1
- Suggestion: different states for the buttons
- Is this project abandoned? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pell.