Line space problem in HTML editor

Hi,
In HTML editor , when press ENTER the cursor doesnt go to the exact next line , but it leaves 1 line behind each time.
What can we do so that it wont leave 1 line behind ??

Vaibss,
What do you mean by
it leaves 1 line behindHave you tried a shift + enter?
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-)

Similar Messages

  • HTML Editor kit Line Space Problem

    I am using the HTMLeditor Kit i want to achieve line spacing in it. i have tried two ways one by specifying the line-height attribute directly into p tag and or secondly by using the StyleConstants attribute StyleConstants attribute StyleConstants.setLineSpacing and passing the MutableAttribute Set and linespaceno into it...
    In first case i m getting the same linespace irrespective whatever i mentioned in line-height, however if i save the backend generated html and open it in Internet Explorer it works fine.
    In second option i get content tags and but one the tag gets centre aligned and secondsly it does not woirk properly also.
    Can somebody can give me a clear insight that what i can do to achieve this line space functionality

    Yes please someone explain how to change the line spacing in a text/html accepting component, in my case JEditorPane. My need is specifically this -- I want to display variable font size text including superscripts all in HTML at a single unmoving height on JEditorPane. I believe increasing the line spacing sufficiently will enable this to happen, but how does one setLineSpacing on a JEditorPane component?
    Sorry I could'nt help the original post in this thread!

  • New Line Space problem with iWeb 3.03

    I've just updated to iWeb 3.03.
    Now I find that for all new text on my site, the line space is crunched. It looks as normal in iWeb, but then the spacing closes up, on Safari or Firefox. This happens independently of how I space the lines, whether using Line multiples, or as point sizes, whatever. The problem has only occurred since I updated.
    Example - the bottom half of this page. I've attempted to update it several times, retyped, reformatted, I have huge line spacing on the iWeb page, but it's still crunched, online.
    http://www.trynka.net/trynka.net/Bowie.html

    Oh, and I should have mentioned, the site is hosted on a Linux server. The reason I think it's an update issue rather than a server issue is that every existing page, with the earlier version, works fine.
    I am guessing I could reinstall the older version of iWeb, but it seems a clunky workround, that's if the older version will open the newer files.

  • Problem with HTML Editor box in XML Form

    Hi all,
    I am using a HTML editor box in one of the XML form template. When I parse the data from HTML editor and apply my own style sheet and display in JSP page, it has no effect on it. Instead the style set by HTML editor box is being applied. Is there any way to override the style applied by HTML editor ?
    For example,
    Suppose  user enters "Hello" in HTML Editor box and saves the xml form.
    Then when I parse this data and apply my style sheet like
    <style="font-family:arial; font-size:12"><%= datafromXMLform() %>
    I should get "Hello" in arial font with size 12, instead I am getting size=1 because of style applied by html editor.
    Is there anyway to remove/override this style?
    Thanks in advance,
    Sandesh
    Edited by: sandesh kumbhar on Oct 27, 2008 4:12 PM

    Got it !!!
    In the property section of html editor in form builder , set the style as none/empty instead of standard.
    Sandesh

  • APEX - html editor minimal

    I have form items declared as html editor minimal on clob columns. When I copy & paste the text from word document into the form or type in the text, my session froze up. I have to kill it to get out. Does anyone have the same problem with html editor minimal? How can it be fixed?
    Thank you so much,
    MT

    Never mind, I found the problem.
    Thank you,
    MT

  • Single line space after enter in html editor standard

    hi,
    In html editor standard, if I press enter then it goes to 3rd line and if I press shift+enter then it goes to 2nd line.
    How can I change this shift+enter functionality to enter only.
    It should ge to 2nd line just by clicking enter only.....
    Thanks

    It's an HTML editor, NOT a text editor. It generates an HTML document fragment, NOT lines of plain text.
    Pressing return generates an HTML paragraph element (&lt;p&gt;), which is then affected by a CSS styling rule (either for the editor, the page, or the default for the browser) which is adding a margin (usually 1em, i.e. roughly 1 "line").
    Pressing shift+return generates an HTML break element (&lt;br /&gt;), which splits the current paragraph but is not subject to CSS in this case.
    If HTML structure is needed in this item, but the appearance is inappropriate, then modify the CSS. If not, use a plain textarea and display the resulting text as a &lt;pre&gt; element to preserve the whitespace as entered.

  • Html editor turkish character problem

    There is a problem in jdeveloper 10.1.3 html editor on computers with regional settings set to Turkish. In Turkish, uppercase version of "i" is "İ" (I with a dot at the top) and lowercase version of "I" is "ı". This causes a problem with html tags containing i. If you write "div" jdeveloper doesn't recognize the tag. There is no problem if you write "DIV"
    I think html editor converts every tag to uppercase (according to regional setting) in the background and then validates, so "div" becomes "DİV" and it doesn't recognise. To fix this bug, editor must ignore language settings for tags if it converts to uppercase.

    We had our share of the four Turkish "i"s. Wouldn't it be easier to just get rid of two of them? :o)
    But we had problems in our application and not in the IDE.
    If no default locale is specified, then the JVM uses the host's. So maybe it would help to specify a different locale in bin\jdev.conf by adding VM options -Duser.country and -Duser.language. What happens when you add these settings and specify "US" and "en" for example. Does that help?
    Sascha

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • Facing a problem in "HTML Standard Editor" item type.

    Hi,
    I have been using an item which is of type "HTML Editor Standard" and I am using it to store a clob value into the database. The functionality works fine in Firefox but the value of the item is always null irrespective of whatever I type in that HTML editor standard item in IE. Please help me out with this issue. If you need more info on this issue, please reply me and I shall give all the input.
    Thanks,
    Vignesh
    Edited by: Vignesh N on Sep 30, 2009 9:09 PM

    I'm doing exactly the same thing at the moment in my application.
    I have a table with a CLOB column, and I have a page that selects from this table using a standard generated Automated Row Fetch process. Saving the data back into the table is done with a standard generated Automatic Row Processing (DML) process.
    It works fine in both Firefox and IE8.
    What do your processes to fetch and save the data look like?
    And what versions of the browsers are you using?
    Edited by: Michel van Zoest on Oct 1, 2009 11:01 AM

  • Safari problem with visual HTML editor

    Hey all,
    I have an error when trying to make an auction on a big portal. Safari doesn't have built-in visual HTML editor.
    http://img403.imageshack.us/i/domerror.tif/
    Any suggestions?
    Message was edited by: moksienciuk

    HI,
    I think you'd have better luck for answers by contacting the site support area.
    You could try using the Firefox for Mac browser instead.
    http://www.apple.com/downloads/macosx/internet_utilities/mozillafirefox.html
    Always good to have a back up browser regardless and it might be more user friendly for that particular site.
    Carolyn

  • HTML Editor Kit adding extra characters...urgent

    I am facing a strange problem in using HTML Editor Kit. I am using JTextPane to display the HTML data, which will support bold, italic and underline formatting.
    The problem is, when I
         1]Enter some text of length more than 71, with some spaces inside it ( Do not press enter key explicitly).
         2] And try to read that data from the editor kit.
    I find some new line characters inside the data as shown below in the example.
    Example :
    =========
    I entered "Testing the HTML Editor Kit functionality .. as well as Apply functionality too.. as these are giving some problems. what can be the reason. try to find out that..." in the Editor Pane and Editor Kit is generating the following HTML for it.
    <html>
    <head>
    </head>
    <body>
    <p name="Normal">
    Testing the HTML Editor Kit functionality .. as well as Apply
    functionality too.. as these are giving some problems. what can be the
    reason. try to find out that...
    </p>
    </body>
    </html>
    Although I haven't entered any new line between the paragraph tags, still you can find that the editor kit is adding some new line characters and 6 spaces from line to line. One consistency about this behavior is that it enters this stuff after 71 characters only with some special cases.
    How can we change this behavior. What all I need is I want the data in a simple string like
    "<html><head></head><body><p name="Normal">Testing the HTML Editor Kit functionality .. as well as Apply
    functionality too.. as these are giving some problems. what can be the reason. try to find out that...
    </p></body></html>"
    Any solution???
    Thanks
    Priyatam

    That's strange isn't it? Class HTMLWriter sets the line length for HTML output to 80 chars per line. Strangely JEditorPane seems not to ignore these newline chars although the actual newline is not performed within JEditorPane.
    See http://java.sun.com/j2se/1.3/docs/api/javax/swing/text/AbstractWriter.html#setLineLength(int)
    about how to set the line length.
    Hope that helps
    Cheers
    Ulrich

  • Issue with HTML Editor of XML Form Builder.??

    Hi All,
    We are using HTML Editor of XML Form Builder to enter the Content. This content will be displayed to teh User by parsing these XML Files generated by the XML Form Builder Application.
    But, when we parse the XML, the other field values are coming properly, except HTML Editor field Content.
    This is working fine, only when I enter a Single line Text. If I enter some Spaces, New lines, Paragraphs, etc. the XML Parsing is not returning any Content..
    And also when I use Text Area, the total content is returning as a Single Paragraph, Even if I enter multiple lines, spaces,.
    If anyone has Idea on this, Please Help me to solve this Issue ASAP.
    Thanks&Regards||
    Ashok Kumar M.

    Hi Bala,
    It is already mapped correctly. If I enter a single line Text in HTML Editor, I am getting the same Text after Parsing. But If I enter multiple lines, spaces, new lines, etc., then the Problem.
    Thanks||
    Ashok M.

  • Creating a small HTML-Editor using JEditorPane

    Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
    1. When I create an instance of my editor, I initialize it with some html-code.
    this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
    2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
    Can anybody help me to change this behavior?
    Kind regards, Stefan
    P.S. The way I insert the <br>-tag:
    JEditorPane editor = getEditor(ae);
    HTMLDocument doc = getHTMLDocument(editor);
    HTMLEditorKit kit = getHTMLEditorKit(editor);
    editor.replaceSelection("");
    int offset = editor.getCaretPosition();
    kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
    editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/

    Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
    1. When I create an instance of my editor, I initialize it with some html-code.
    this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
    2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
    Can anybody help me to change this behavior?
    Kind regards, Stefan
    P.S. The way I insert the <br>-tag:
    JEditorPane editor = getEditor(ae);
    HTMLDocument doc = getHTMLDocument(editor);
    HTMLEditorKit kit = getHTMLEditorKit(editor);
    editor.replaceSelection("");
    int offset = editor.getCaretPosition();
    kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
    editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/

  • HTML Editor (FCKEditor) broken in Safari (APEX 3.0)?

    Hi folks,
    When using Safari (3.1.1), FCKEditor does not load for me on page items of type HTML Editor). (It's fine using IE and FF). Safari reports:
    Value undefined (result of expression func) is not object.
    .../i/javascript/htmldb_html_elements.js (line 484)Searching the forum I found this reference:
    AJAX result length > 32000
    In his post there, Dan identifies what may be the problem:
    "correct way to handle this is by using the FCKeditor_OnComplete function instead of an onload call. The function takes one parameter, the FCK Editor instance on the page, which in ApEx seems to have been made 'oFCKeditor';"
    ... but I'm still short of a fix.
    Since FCKEditor is now bundled into APEX, I'd hope that APEX would successfully invoke it on all major browsers.
    Does anybody (Apex team?) know a fix?
    Has this been fixed at 3.1?
    Thanks
    john

    Hello,
    Has this been fixed at 3.1?Yes
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • HTML Editor in 9.0.2

    Does anyone know if the HTML editor can be attached to custom text attributes. It would be great if all text attributes could use the new HTML editor during content entry.
    Thanks in Advance,
    -Scot

    Hi
    The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
    The other one I remember is adding <tbody> tags to a table.
    I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
    Is it possible to create a simple HTML item as a shared component that one could drop into any page?
    Regards
    Harry
    What changes are you seeing?
    I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes).

Maybe you are looking for

  • Authorizations by use of customer-exit: in  i_step = 3,   i_vnam is empty

    Hello all, I have checked multiple scenarios and they do not work: Current situation/setup: 1. <b>Creation of several variables and adding each of them to different queries</b> : Variable   Type   Processing      Infoobject                     Select

  • BaseRuntimeException:Invalid byte 1 of 1-byte UTF-8 sequence

    Hi experts, I am getting error in MONI as : Runtime exception occurred during application mapping com/sap/xi/tf/_MM_MES_TO_SAP_SHIPPING_REQ2_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Invalid byte 1 of 1-byte UTF-8 sequence When i checked the

  • HT5891 os x mavericks and bootcamp for windows 7 64 bit

    I am currently running Win 7 64-bit in Bootcamp on my OS X 10.8 and it works great. I am connected via fire wire to my old DELL 2007WFP Display and this is allowing my MacBook Pro Retina to really act as a workstation for Revit/Acad 2014.  Questions:

  • TOC not updating when project is saved

    The Table of Contents is not saving when project is saved. To see saved changes, I have to close and reopen.

  • Itunes folder on external: every song has a duplicate

    I looked at my external HD itunes music folder and every song has an exact duplicate. ie) song.mp3 has a sister song.mp3...although in my actual itunes program only one is listed, there are no duplicates. My ipod also only syncs to the itunes program