Clipboard text/html formats of MS editors

%3CLINGO-SUB%20id%3D%22lingo-sub-1870692%22%20slang%3D%22en-US%22%3EClipboard%20text%2Fhtml%20formats%20of%20MS%20editors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1870692%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%20I%E2%80%99m%20web%20developer%20and%20working%20at%20javascript%20library%20for%20online%20text%20editors.%3C%2FP%3E%3CP%3EI%20want%20to%20add%20a%20good%20performance%20of%20text%20copied%20from%20Microsoft%20editors.%20But%20I%20have%20one%20problem%3A%20when%20I%20copy%20text%20(or%20some%20other%20content%3A%20lists%2C%20images%20etc.)%20in%20clipboard%20it%20has%20a%20different%20format.%20For%20example%3A%20list%20item%20copied%20from%20Word%20have%20%E2%80%9Cp%E2%80%9D%20html-tag%2C%20but%20the%20same%20item%2C%20copied%20from%20Power%20Point%20have%20%E2%80%9Cdiv%E2%80%9D%20html-tag.%20So%2C%20I%E2%80%99m%20looking%20for%20information%20of%20this%20formats.%20Which%20kind%20of%20copy%2Fpaste%20html%20format%20each%20Microsoft%20office%20product%20has%3F%20(As%20I%20see%20excel%20and%20power%20point%20have%20the%20same%20format%2C%20but%20word's%20format%20is%20different)%20Maybe%20you%20have%20a%20detailed%20information%20of%20this%20formats%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi! I’m web developer and working at javascript library for online text editors.

I want to add a good performance of text copied from Microsoft editors. But I have one problem: when I copy text (or some other content: lists, images etc.) in clipboard it has a different format. For example: list item copied from Word have “p” html-tag, but the same item, copied from Power Point have “div” html-tag. So, I’m looking for information of this formats. Which kind of copy/paste html format each Microsoft office product has? (As I see excel and power point have the same format, but word's format is different) Maybe you have a detailed information of this formats?

0 Replies