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

Prevent converting tags to text #34

Open
ynot729 opened this issue Mar 9, 2018 · 2 comments
Open

Prevent converting tags to text #34

ynot729 opened this issue Mar 9, 2018 · 2 comments

Comments

@ynot729
Copy link

ynot729 commented Mar 9, 2018

There should be an option to prevent the converting of tags to text. that way the editor can be used to edit HTML and see the pages styling. I can't figure out where the tags are being converted to text so I can test myself. Thanks

@ynot729
Copy link
Author

ynot729 commented Mar 9, 2018

I was able to edit the chrome plugin and do

           this.on('valueSet', function (value, options) {
	      _this.elem.innerHTML = value;
	    });

this works fine since the only application I want for this is to be able to live edit html. It should be a setting that can be set from within the atom plugin for which URLs you want to replace HTML or just text. I tried adding a separate config but I gave up and just defaulted the main config to do innerHTML instead of key strokes

@danhper
Copy link
Owner

danhper commented Mar 15, 2018

Hi, thank you for reporting and sorry for the delay.
While I am open to such an option, I do not have time to work on it at the moment.
If you would like to send a PR, I will be happy to merge it.
Thank you.

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

2 participants