Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove formatting does not actually reset to the original format #102

Open
toderesa97 opened this issue Aug 3, 2018 · 0 comments
Open

Comments

@toderesa97
Copy link

The title says everything... Before writing or pasting nothing, I write:

<this><a><text>.

and executing console.log($("editor").Editor("getText");, the app returns the expected output. But when pasting something from outside with a custom format and clicking the button of Remove Formatting the editor seems not to remove everything because what it is printed in the terminal is:

<pre style="background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:15,0pt;"><this><a><text>.</pre>

So I was wondering... If that is something the app does when an external source with a different format is loaded, how can I call the method of cleaning format programmatically? Is the app going to do this thing always?

Thanks

@toderesa97 toderesa97 changed the title Remove formatting actually does not reset to the original format Remove formatting does not actually reset to the original format Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant