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
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.
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
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
Copy link to clipboard
Copied
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