hello, I've just been trying out the repeatable tag - it has really opened out exciting possibilities for greater control and flexibility with Couch.
A question on Nicedit. Does anyone know if it is possible to generate paragraph tags / <p>
I am getting <br> for each 'return'. I've done some hunting on the Nicedit site and can't find anything. I guess there is something somewhere that can be configured to generate a <p> tag.
ADDED:
I've been doing a bit more testing with Nicedit in a repeatable region. I copied and pasted content from the screen. The following HTML was generated:
I copied and pasted from a Word document and got the following:
The thing is I know that this is what a client will do to get content into Nicedit i.e. rather than type it all in afresh.
The markup seems a bit wild and wacky to me ...
A possible solution here: http://www.billyswebdesign.com/blog/2009/a-customized-web-based-wysiwyg-that-can-clean-a-paste-from-ms-word/ Not sure I feel up to tinkering with the NicEdit.js file though
LAST THOUGHT: I think I'll simply tell the client to copy & paste text into notepad first - problem solved.
A question on Nicedit. Does anyone know if it is possible to generate paragraph tags / <p>
I am getting <br> for each 'return'. I've done some hunting on the Nicedit site and can't find anything. I guess there is something somewhere that can be configured to generate a <p> tag.
ADDED:
I've been doing a bit more testing with Nicedit in a repeatable region. I copied and pasted content from the screen. The following HTML was generated:
- Code: Select all
<p style="margin: 0px 0px 9px; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.4em; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "> ..... content here.... </p>
I copied and pasted from a Word document and got the following:
- Code: Select all
<p class="MsoNormal" style="margin-bottom:12.0pt;text-autospace:ideograph-numeric"><span style="font-family:ArialMT;mso-hansi-font-family:ArialMT;mso-bidi-font-family:
ArialMT;color:#5F5F5F"> ..... content here.... </span></p>
The thing is I know that this is what a client will do to get content into Nicedit i.e. rather than type it all in afresh.
The markup seems a bit wild and wacky to me ...
A possible solution here: http://www.billyswebdesign.com/blog/2009/a-customized-web-based-wysiwyg-that-can-clean-a-paste-from-ms-word/ Not sure I feel up to tinkering with the NicEdit.js file though
LAST THOUGHT: I think I'll simply tell the client to copy & paste text into notepad first - problem solved.