# View HTML not as code

**URL:** <https://forum.pydio.com/t/view-html-not-as-code/1223>\
**Category:** Development\
**Created:** [June 15, 2018, 3:07pm UTC](https://forum.pydio.com/t/view-html-not-as-code/1223 "2018-06-15T15:07:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonystoro](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anthonystoro](https://forum.pydio.com/u/anthonystoro)\
**Post date:** [June 15, 2018, 3:07pm UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/1 "2018-06-15T15:07:50Z")

</div>

Hello,

Right now when I double click on an .html file in pydio it views the html coding. Can I change this default setting to actually show the design view? I know if you click preview\>external window, it shows the design view but I want to make it so when you double click the file it automatically does that.

---

<div class="post-metadata">

**Author:** ![anthonystoro](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anthonystoro](https://forum.pydio.com/u/anthonystoro)\
**Post date:** [June 15, 2018, 3:19pm UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/2 "2018-06-15T15:19:46Z")

</div>

I also tried this: under editors I turned off Source Viewer. But when I do that and now double click the html file the window shows this error: [] is not a valid API key

---

<div class="post-metadata">

**Author:** ![anthonystoro](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anthonystoro](https://forum.pydio.com/u/anthonystoro)\
**Post date:** [June 15, 2018, 3:22pm UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/3 "2018-06-15T15:22:42Z")

</div>

I see its because now its trying to open the file as collaborative editor. All I want to do is make External window as the default way to open the file. I see it is below collaborative editor on the view panel.

 ![51%20AM](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/014b61df3f0d1eecf0f0af22d44a156e93576459.jpg)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [June 18, 2018, 7:26am UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/4 "2018-06-18T07:26:35Z")

</div>

Hi,  
you can clear the default editor by clicking on **choose other** and then you will have a clear associations button after that just click once on the editor that you want to be the default one and it should do the trick.

---

<div class="post-metadata">

**Author:** ![anthonystoro](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anthonystoro](https://forum.pydio.com/u/anthonystoro)\
**Post date:** [June 18, 2018, 12:32pm UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/5 "2018-06-18T12:32:25Z")

</div>

When I do that, External Window doesn’t stay as a default. When I clear associations and then click on something else like image preview that stays as default but it doesn’t work with External Window. I am also looking for a way to make the external window the default for every guest and user. I don’t want to have to tell each user to follow steps. I just want it to automatically do this.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [June 19, 2018, 10:34am UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/6 "2018-06-19T10:34:42Z")

</div>

Hi,  
the external window is not really and eidtor that’s why it doesn’t stay by default, whenever you put a file that has a type such as `.html` pydio will then use the corresponding plugin to display that and that for every type that we can handle.  
But the external window is here only for specific cases such as documents otherwise you will have to it manually.

---

<div class="post-metadata">

**Author:** ![anthonystoro](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anthonystoro](https://forum.pydio.com/u/anthonystoro)\
**Post date:** [June 19, 2018, 11:42am UTC](https://forum.pydio.com/t/view-html-not-as-code/1223/7 "2018-06-19T11:42:59Z")

</div>

Ok thank you for the information. I think that it would be a good to add this setting as a feature on a future pydio release. It would be nice if the admin could set up default ways of opening a file either plugin or external depending on the file type.
