Indent

Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Sed posuere consectetur est at lobortis. Vestibulum id ligula porta felis euismod semper. Donec ullamcorper nulla non metus auctor fringilla. Aenean lacinia bibendum nulla sed consectetur. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Sed posuere consectetur est at lobortis. Etiam porta sem malesuada magna mollis euismod. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Curabitur blandit tempus porttitor. Sed posuere consectetur est at lobortis.


BrandonFL wrote:

I pasted some text into a public post and wanted to indent it.

 

I highlighted the text, pressed the indent icon, and got an "invalid HTML code" error.

 

Did I do something wrong?

 

(P.S.  Actually, this is one of the best pieces of forum software I've seen.)


 

I would actually have to see the original document to analyze why that happened.   In other words the invalid HTML could have existed before you pressed the indent button, and I suspect that was the case.   The problem being that not all valid HTML is valid HTML for a post.   The subset of HTML that is valid in a post are all safe elements that allow you to format text, make links, insert images etc....  Other elements that say run a script on your computer, would be invalid.

 

Another source of invalid HTML would come from two editors that don't necessarily generate the HTML in the same way,  or follow the same order of generation.  In other words they may not edit what was already edited by another element correctly.

 

The latest version of the forum software also includes a new tool for posting previously edited text, and that is a pop-up to insert text from Word.   (I can't locate the filename to insert the image from the toolbar here in this post, but it's just to the left of the Smiley on the  toolbar).

 

In any case, I doubt you did anything seriously wrong, my thinking is that it's just a case of two editors operating on the text/html in a way that wasn't compatible.

 

Thanks for the compliment on the software platform!

1 Like

I pasted some text into a public post and wanted to indent it.

 

I highlighted the text, pressed the indent icon, and got an "invalid HTML code" error.

 

Did I do something wrong?

 

(P.S.  Actually, this is one of the best pieces of forum software I've seen.)

Paste from Word

 

That will upset the HTML police, I bet.

 

AMOI what does Insert Code do (next left icon)

 

I'm very used to getting the HTML code error just as I said to BrandonFL -- just replying, maybe with a quote produced by the Quote Message button that I sometimes then delete the non-relavent bits for my purpose.

 

Yes it did <g>


huwyngr wrote:

 

That will upset the HTML police, I bet.

 

AMOI what does Insert Code do (next left icon)

 

I'm very used to getting the HTML code error just as I said to BrandonFL -- just replying, maybe with a quote produced by the Quote Message button that I sometimes then delete the non-relavent bits for my purpose.

 

Yes it did <g>


Now to see if this will.

 

No it did not but it's already been throught the fiery furnace ....

Message Edited by huwyngr on 07-20-2008 07:36 PM

huwyngr wrote:

Paste from Word

 


your one up one me, and that's hard to do!

 


huwyngr wrote:

 

AMOI what does Insert Code do (next left icon)


That's one way of getting...

 

 

these spiffy boxes...

no further formating is done inside.

 

 

 

 


Allen_K wrote:

huwyngr wrote:

Paste from Word

 


your one up one me, and that's hard to do!

 


huwyngr wrote:

 

AMOI what does Insert Code do (next left icon)


That's one way of getting...

 

 

these spiffy boxes...

no further formating is done inside.

 

 

 

 


Dead simple to insert an icon from the toolbar – right mouse click / copy / paste …

 

I learned that on Compuserve (Prospero version) but I guess most websites are using basically the same freeware ediitor? Yours takes as long as the PCIS one to build the toolbar by downloading it every time you open – can’t you cache it after the first time?

 

I’ll have to explore the insert code.

Yup.  Tried it.  That didn't used to work. :smileysurprised:

 

I've asked the same question before :smileywink:  (still don't know the answer myslef...)

 

Good luck.  It is pretty straight forward.  The other way to get the code box after the fact (i.e. if you have already pasted) the text is to click 'Edit as HTML' button, and then wrap <pre> and </pre> tags around the text you want to put in a box.

1 Like

Now that I know it's < and > and not [ and ] what little HTML I do know will become available. Fortunately most of what I want to do is on the toolbar, although I wish you would add one that is on the PCIS bar and that is "remove all formating". Highlight and use that nearly always removes unwanted formating in a copy / paste from outside; although when it doesn't I'm amazed at what I see in the HTML editor, like font sizes (all the same) for every line and the use of tables for quite simple formating.

 

Allen:

 

I wanted to post an excerpt from a PC Magazine review of 360 in another thread. I went to PCMAG.COM, copied the text and pasted it into the forum.

 

It *looked* like normal forum text so I highlighted it and clicked the INDENT button. That's when I got the "invalid HTML code" error.

 

I thought that putting something in the clipboard and then pasting it into another application would strip out any formatting and I'd end up with plain text. Am I wrong?

 

(I'm a complete HTML dummy. I still can't figure out how to embed an object in my web site pages.)

 

 

2 Likes

BrandonFL wrote:

Allen:

 

I wanted to post an excerpt from a PC Magazine review of 360 in another thread. I went to PCMAG.COM, copied the text and pasted it into the forum.

 

It *looked* like normal forum text so I highlighted it and clicked the INDENT button. That's when I got the "invalid HTML code" error.

 

I thought that putting something in the clipboard and then pasting it into another application would strip out any formatting and I'd end up with plain text. Am I wrong?

 

(I'm a complete HTML dummy. I still can't figure out how to embed an object in my web site pages.)

 

 


Actually the clipboard preserves HTML.   I suspect the Invalid HTML involved was HTML tag that is not legal in a regular users post.  It may also have involved a font we don't support.

 

The simplest way that I know of to scrub HTML from the clipboard, is to paste it into notepad first and re-copy it to the clipboard.

 

A note on re-posting copyrighted content, generally we would prefer that you post either one sentence from the beginning of an article and then link to the full text, or summarize in your own words what the article states and then link to it.   Since we don't provide tools to correctly annotate quoted materials, we recommend only linking to articles and not pasting them in full or in part.

Message Edited by Allen_K on 07-21-2008 08:59 PM
1 Like

BrandonFL wrote:

 

 

I highlighted the text, pressed the indent icon, and got an "invalid HTML code" error.

 

 


Did you get that error message when you clicked on the Indent icon or when you went to Submit Post?

 

If the latter this is at present a "feature" of the Editor that we all devoutly hope will be tamed <sad smile>

 

The workaround is silently say "Don't be stupid" and click Submit Post a second time .....

 


Like just happened on this message ....

Message Edited by huwyngr on 07-20-2008 06:13 PM
1 Like