• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

HTML formatter in cfml-files

New Here ,
Feb 24, 2012 Feb 24, 2012

Copy link to clipboard

Copied

Hi everybody,

How is HTML formatting managed in cfml-files. Currently on formatting <h*>-Tags got a newline and I would prefer the tag to stay on one line without break.

greets

TOPICS
Builder

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 24, 2012 Feb 24, 2012

Copy link to clipboard

Copied

Heading tags are block level elements and therefore always take up the full width of their containing element unless styled otherwise. Doesn't matter if you're document is .html or .cfm.

Hope I understood your question correctly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 02, 2012 Mar 02, 2012

Copy link to clipboard

Copied

I also do not get around with that.

I tried to configure the formatter - no success.

Any idea would be appreciated ..

-Didi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 09, 2012 Apr 09, 2012

Copy link to clipboard

Copied

I'd like to follow up on that

If I write the following line in CFB2

   <h2>Slides</h2>

and then press <ctrl>-<shift>-F to format the code, I get

   <h2>

       Slides

   </h2>

Now I would like to teach CFB2 to keep

   <h2>Slides</h2>

How do I do that ?

I have been playing around a lot with the Formatters in the Preferences. There it works - but not in real editor life 😞

-Didi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 09, 2012 Apr 09, 2012

Copy link to clipboard

Copied

LATEST

As far as I can tell, those formatting options are for the format-as-you-go typing, not the reformatting option.  One might think both facilities would use the same settings, but it seems not.  Which is quite rubbish.  Perhaps I'm just missing something though.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation