Author Topic: Paste as HTML without meta data  (Read 5265 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Paste as HTML without meta data
« on: December 01, 2008, 01:05:52 PM »
Hi alex,


"Paste as HTML" is an very nice feature,..
... but is there any change that we could get an option

to get rid of the header?
Code: [Select]
Version:0.9
StartHTML:00000149
EndHTML:00000998
StartFragment:00000183
EndFragment:00000962
SourceURL: www.xy.de

I think about something like "[X] Paste as HTML: without Metadata" or they like.

---
Or perhaps just comment the header out by <!--header -->,
Quote
<!--Version:0.9
StartHTML:00000149
EndHTML:00000998
StartFragment:00000183
EndFragment:00000962
SourceURL: www.xy.de  -->
The URL is  the only thing i found useful from this header, to keep them in my code.
« Last Edit: December 01, 2008, 01:35:05 PM by Stefan »
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Paste as HTML without meta data
« Reply #1 on: December 01, 2008, 03:51:04 PM »
Hello Stefan,

I have considered this is as bug and would try to clean up pasted text. I agree that header information is not really interested for end-user ;)

I would publish fixed version next days. Check beta version history.

I would also would move this message to bug section.

Best regards,
Alex.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: Paste as HTML without meta data
« Reply #2 on: December 01, 2008, 03:54:56 PM »
Thanks Alex,

can we talk about keeping "SourceURL: www.xy.de" ?

maybe as commented "<!-- SourceURL: www.xy.de -->" ?

This i find useful.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Paste as HTML without meta data
« Reply #3 on: December 01, 2008, 04:28:38 PM »
Ok. No problem :)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Paste as HTML without meta data
« Reply #4 on: December 03, 2008, 02:06:30 AM »
Fixed with 1.40.546.

Now there are three modes for paste (see description in prompt in status bar).
Normal - paste only selected fragment in HTML format (how it was designed)
Keeping Ctrl - paste complete HTML (together with necessary styles, scripts etc)
Keeping Ctrl+Shift - paste raw HTML format (full HTML + header, where you can see SourceURL for example)

It was not possible to extract SourceURL because it is optional descriptor and used only by IE. If you paste HTML from Word for example, you would not get it. But you still can get it, if you want, pasting raw HTML format.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: Paste as HTML without meta data
« Reply #5 on: December 03, 2008, 01:37:09 PM »
Really Fantastic!

This Keeping Ctrl "Paste and add HTML skeleton" is great!


> Keeping Ctrl+Shift - paste raw HTML format (full HTML + header,
May i suggest for an future version to set this complete 'header' in comment signs like <!-- 'header' -->
so user don't have to take care and just leave the header with the code?
But very minor wish only.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Paste as HTML without meta data
« Reply #6 on: December 04, 2008, 04:06:38 PM »
Done with 547.