in reply to Re: "readmore" tags in "preview"
in thread "readmore" tags in "preview"

Thanks, ikegami, for your reply. I really appreciate it.

For reasons I'm not entirely sure of, the <readmore> text in my "preview" does not show any signs of "different" formatting (e.g., grey background). Hence, for example in my post to SoPW where I forgot the post-tag </readmore>, there was nothing that gave me any clue in the "preview" that I'd made that mistake. All the text looks the same whether I have <readmore> tags or not.

When I inquired Is there a way to have "preview" do a real preview? I was simply meaning that it would be nice if the "preview" showed exactly what would appear in the post...e.g, <readmore> tags would be collapsed, exacly like it would appear in the final, created, post.

Unfortunately, of course, I think it would probably be too complex and cumbersome to be able to click on the collapsed <readmore> and get it to expand like it does in the posted version.

So I guess the way it works today is probably the best solution. The only other thing I can think of would be some sort of "preview" choice that would either "show" or "not show" the collapsed version of what one wrote. That would be, IMHO, a lot of extra extra work and complexity that just isn't really worth it.

Having the text in the <readmore> look "different" (e.g, different color or whatever) between the <readmore> tags as it is implemented today and as ikegami suggested in his response, is probably the best solution.

Now if I could just get my "preview" to show such text as "different". Thanks, again, ikegami.

ack Albuquerque, NM

Replies are listed 'Best First'.
Re^3: "readmore" tags in "preview"
by ikegami (Patriarch) on Aug 18, 2009 at 16:26 UTC

    For reasons I'm not entirely sure of, the <readmore> text in my "preview" does not show any signs of "different" formatting

    I logged out and previewed a post containing the following:

    foo <readmore> bar </readmore> baz

    "bar" had a (very) light grey background. You have changed to a theme that doesn't do that, your personal CSS overrides it, or your monitor's calibration is off.

    I was simply meaning that it would be nice if the "preview" showed exactly what would appear in the post.

    Again, it already does that, ...

    e.g, <readmore> tags would be collapsed,

    ...readmore sections are expanded (not collapsed) when you view a post with readmore tags. Readmore secions are collapsed when embedding the post in another post.

    Now if I could just get my "preview" to show such text as "different".

    I think I mentioned you could change your personal CSS. Specifically, do something with the "readmore" CSS class.

    .readmore { border: solid red 0.5em; }