close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Configure writable area in HTML editor

Thread began 9/28/2011 3:48 am by gunnar.andersson426689 | Last modified 10/04/2011 2:36 am by gunnar.andersson426689 | 3381 views | 9 replies |

gunnar.andersson426689

Configure writable area in HTML editor

Hello!

Is it possible to configure the writable area in the HTML-editor ( ex 150*175px )
to fit the area where the text will be displayed in the
WEB-page?

Is it possible to prevent resizing of the HTML-editor?
I would like it to fit in a DIV with overflow hidden.

Thank you in advance
Gunnar Andersson

Sign in to reply to this post

Jason ByrnesWebAssist

in the HTMLEditor behavior window, you have the option to set the editor width and height.


to disable re-size, find the following line of code:
[php
$CKEditor_config = array();
[/php]


and change it to:

php:
$CKEditor_config = array();

$CKEditor_config["resize_enabled"] = false;
Sign in to reply to this post

gunnar.andersson426689

Tanks but the question was maybe not noough specific.
Although I configure the Editor where You say it is poosible to write
a document in the writable area of the HTML-are that is
both higher and broader ( the window will scroll ).
Is it possible to understand what I mean?
I do not whant the writer to produce a "bigger" document than will be
visible in the DIV on the real WEB-page.

Sign in to reply to this post

Jason ByrnesWebAssist

By setting the width and height options in the HTML Editor interface, you can set the HTML Editor document to the same size as the space available by your div.

by changing:

php:
$CKEditor_config = array();




php:
$CKEditor_config = array();
$CKEditor_config["resize_enabled"] = false;



you make it so the HTMLEditor document size cannot be changed.

Sign in to reply to this post

neilo

Huge apologies for butting in, but I'm wondering if the OP is asking if there is some way of limiting the amount of content that may be entered in the Editor interface, so as not to exceed the amount of space allowed for in the output page design, i.e.- in a normal textarea you can (with spry) specify a MAX CHARS validation.

But I may (and probably am) wrong.

Sign in to reply to this post

gunnar.andersson426689

Tank You for explaning what I realy need to do
( but my english is not so good ;-) )

Is it possibe to do that kind of configuration???

Thanks in Advance
Gunnar

Sign in to reply to this post

neilo

Is there an solution to this please?

Sign in to reply to this post

Jason ByrnesWebAssist

CKEditor does not have a setting to limit the number of characters that are entered.

See this page for details on how you can add this your self though:
ckeditor-maximum-length/

Sign in to reply to this post

neilo

Many thanks Jason.

Sign in to reply to this post

gunnar.andersson426689

Thank You for the answer and it will realy help me!!

Gunnar Andersson

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...