• Xinha discussion

  • Cursor directly below end of toolbar?

    from Jeff Ross on Nov 07, 2008 02:54 PM
    Hi,
    
    I'm exploring Xinha as a possible replacement of FCKEditor.  I have a 
    working example but something of an anomaly in the text entry in that 
    the initial entry cursor falls directly below my simple, one-line 
    toolbar.  If I expand the editor to the whole screen the cursor is at 
    the left edge of the textarea as it should be, and when I collapse the 
    editor again the cursor is also at the left edge of the textarea.
    
    I've put some screenshots at
    
    http://www.wykids.org/xinha_screenshots.html
    
    
    I installed xinha from a xinha-nightly on September 30, and just 
    upgraded to the latest xinha-nightly.  Same problem.
    
    Thanks,
    
    Jeff Ross
    
    Thread Outline:
  • Re: Cursor directly below end of toolbar?

    from douglas on Nov 07, 2008 03:27 PM
    Jeff, do you have the same problem when connecting to the demos  
    available on Xinha.org?  If this is only on your embedded Xinha, what  
    happens when you start typing?  Does it put the cursor in the correct  
    place, or does the text appear wrong as well?  Is there any way you  
    could expose this page publicly so I could take a look?
    
    Thanks,
    Douglas Mayle
    
    On Nov 7, 2008, at 2:40 PM, Jeff Ross wrote:
    
    > Hi,
    >
    > I'm exploring Xinha as a possible replacement of FCKEditor.  I have  
    > a working example but something of an anomaly in the text entry in  
    > that the initial entry cursor falls directly below my simple, one- 
    > line toolbar.  If I expand the editor to the whole screen the cursor  
    > is at the left edge of the textarea as it should be, and when I  
    > collapse the editor again the cursor is also at the left edge of the  
    > textarea.
    >
    > I've put some screenshots at
    >
    > http://www.wykids.org/xinha_screenshots.html
    >
    >
    > I installed xinha from a xinha-nightly on September 30, and just  
    > upgraded to the latest xinha-nightly.  Same problem.
    >
    > Thanks,
    >
    > Jeff Ross
    >
    >
    > --
    > Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226087676783
    > To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@... 
    > .  Please contact xinha-discussion-manager@... for  
    > questions.
    >
    
    
    • Re: Cursor directly below end of toolbar?

      from Jeff Ross on Nov 07, 2008 05:34 PM
      Douglas Mayle wrote:
      > Jeff, do you have the same problem when connecting to the demos 
      > available on Xinha.org?
      
      No, those work as expected.
      
         If this is only on your embedded Xinha, what
      > happens when you start typing?  Does it put the cursor in the correct 
      > place, or does the text appear wrong as well?
      
      It's just like the edge of the toolbar is the left window edge.  Hitting 
      enter takes you right back to the same incorrect margin.
         Is there any way you
      > could expose this page publicly so I could take a look?
      > 
      
      That page is, as you probably guessed, available only inside our lan, so 
      I made a test page on the outside web server that exhibits the same problem.
      
      http://www.wykids.org/test/
      
      My xinha_config.js file is echoed to the screen following the submit form.
      
      > Thanks,
      > Douglas Mayle
      
      Thank you for the quick response!
      
      One other thing I noticed.  When I initially installed Xinha I was using 
      the default toolbar.  Instead of filling the top of the text area, it 
      made a box about 6 lines high and maybe 200 pixels wide.  Now I notice 
      on the initial page load that the textarea is huge--like after the 
      toolbar is drawn it is missing a page break to force everything down to 
      a new line.
      
      My javascript skills are pretty minimal or I'd dig in and see what I 
      could find.
      
      If there is anything else I can do, please let me know.
      
      Jeff
      > 
      > On Nov 7, 2008, at 2:40 PM, Jeff Ross wrote:
      > 
      >> Hi,
      >>
      >> I'm exploring Xinha as a possible replacement of FCKEditor.  I have a 
      >> working example but something of an anomaly in the text entry in that 
      >> the initial entry cursor falls directly below my simple, one-line 
      >> toolbar.  If I expand the editor to the whole screen the cursor is at 
      >> the left edge of the textarea as it should be, and when I collapse the 
      >> editor again the cursor is also at the left edge of the textarea.
      >>
      >> I've put some screenshots at
      >>
      >> http://www.wykids.org/xinha_screenshots.html
      >>
      >>
      >> I installed xinha from a xinha-nightly on September 30, and just 
      >> upgraded to the latest xinha-nightly.  Same problem.
      >>
      >> Thanks,
      >>
      >> Jeff Ross
      >>
      >>
      >> -- 
      >> Archive: 
      >> http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226087676783 
      >>
      >> To unsubscribe send an email with subject "unsubscribe" to 
      >> xinha-discussion@....  Please contact 
      >> xinha-discussion-manager@... for questions.
      >>
      > 
      > 
      > 
      > -- 
      > Archive: 
      > http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226089662344 
      > 
      > To unsubscribe send an email with subject "unsubscribe" to 
      > xinha-discussion@....  Please contact 
      > xinha-discussion-manager@... for questions.
      > 
      > 
      > !DSPAM:4914a596253762208097181!
      > 
      
      
      • Re: Cursor directly below end of toolbar?

        from douglas on Nov 07, 2008 08:52 PM
        On Nov 7, 2008, at 5:34 PM, Jeff Ross wrote:
        
        > Douglas Mayle wrote:
        >> Jeff, do you have the same problem when connecting to the demos  
        >> available on Xinha.org?
        >
        > No, those work as expected.
        >
        >  If this is only on your embedded Xinha, what
        >> happens when you start typing?  Does it put the cursor in the  
        >> correct place, or does the text appear wrong as well?
        >
        > It's just like the edge of the toolbar is the left window edge.   
        > Hitting enter takes you right back to the same incorrect margin.
        >  Is there any way you
        >> could expose this page publicly so I could take a look?
        >
        > That page is, as you probably guessed, available only inside our  
        > lan, so I made a test page on the outside web server that exhibits  
        > the same problem.
        >
        > http://www.wykids.org/test/
        >
        > My xinha_config.js file is echoed to the screen following the submit  
        > form.
        >
        >> Thanks,
        >> Douglas Mayle
        >
        > Thank you for the quick response!
        >
        > One other thing I noticed.  When I initially installed Xinha I was  
        > using the default toolbar.  Instead of filling the top of the text  
        > area, it made a box about 6 lines high and maybe 200 pixels wide.   
        > Now I notice on the initial page load that the textarea is huge-- 
        > like after the toolbar is drawn it is missing a page break to force  
        > everything down to a new line.
        >
        > My javascript skills are pretty minimal or I'd dig in and see what I  
        > could find.
        >
        > If there is anything else I can do, please let me know.
        I see what's wrong, but I'm not yet sure why.  I'll try to take a look  
        over the weekend...
        
        >
        >
        > Jeff
        >> On Nov 7, 2008, at 2:40 PM, Jeff Ross wrote:
        >>> Hi,
        >>>
        >>> I'm exploring Xinha as a possible replacement of FCKEditor.  I  
        >>> have a working example but something of an anomaly in the text  
        >>> entry in that the initial entry cursor falls directly below my  
        >>> simple, one-line toolbar.  If I expand the editor to the whole  
        >>> screen the cursor is at the left edge of the textarea as it should  
        >>> be, and when I collapse the editor again the cursor is also at the  
        >>> left edge of the textarea.
        >>>
        >>> I've put some screenshots at
        >>>
        >>> http://www.wykids.org/xinha_screenshots.html
        >>>
        >>>
        >>> I installed xinha from a xinha-nightly on September 30, and just  
        >>> upgraded to the latest xinha-nightly.  Same problem.
        >>>
        >>> Thanks,
        >>>
        >>> Jeff Ross
        >>>
        >>>
        >>> -- 
        >>> Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226087676783
        >>> To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@... 
        >>> .  Please contact xinha-discussion-manager@... for  
        >>> questions.
        >>>
        >> -- 
        >> Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226089662344 
        >>  To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@... 
        >> .  Please contact xinha-discussion-manager@... for  
        >> questions.
        >> !DSPAM:4914a596253762208097181!
        >
        >
        >
        > --
        > Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1226097274850
        > To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@... 
        > .  Please contact xinha-discussion-manager@... for  
        > questions.
        >
        
        
        • Re: Cursor directly below end of toolbar?

          from Jeff Ross on Nov 07, 2008 10:46 PM
          Douglas Mayle wrote:
          > 
          > On Nov 7, 2008, at 5:34 PM, Jeff Ross wrote:
          > 
          >> Douglas Mayle wrote:
          >>> Jeff, do you have the same problem when connecting to the demos 
          >>> available on Xinha.org?
          >>
          >> No, those work as expected.
          >>
          >>  If this is only on your embedded Xinha, what
          >>> happens when you start typing?  Does it put the cursor in the correct 
          >>> place, or does the text appear wrong as well?
          >>
          >> It's just like the edge of the toolbar is the left window edge.  
          >> Hitting enter takes you right back to the same incorrect margin.
          >>  Is there any way you
          >>> could expose this page publicly so I could take a look?
          >>
          >> That page is, as you probably guessed, available only inside our lan, 
          >> so I made a test page on the outside web server that exhibits the same 
          >> problem.
          >>
          >> http://www.wykids.org/test/
          >>
          >> My xinha_config.js file is echoed to the screen following the submit 
          >> form.
          >>
          >>> Thanks,
          >>> Douglas Mayle
          >>
          >> Thank you for the quick response!
          >>
          >> One other thing I noticed.  When I initially installed Xinha I was 
          >> using the default toolbar.  Instead of filling the top of the text 
          >> area, it made a box about 6 lines high and maybe 200 pixels wide.  Now 
          >> I notice on the initial page load that the textarea is huge--like 
          >> after the toolbar is drawn it is missing a page break to force 
          >> everything down to a new line.
          >>
          >> My javascript skills are pretty minimal or I'd dig in and see what I 
          >> could find.
          >>
          >> If there is anything else I can do, please let me know.
          > I see what's wrong, but I'm not yet sure why.  I'll try to take a look 
          > over the weekend...
          > 
          
          More than fair enough!  Thanks again!
          
          Jeff
          
        • Re: Cursor directly below end of toolbar?

          from Jeff Ross on Nov 19, 2008 02:41 PM
          Douglas Mayle wrote:
          > 
          > On Nov 7, 2008, at 5:34 PM, Jeff Ross wrote:
          > 
          >> Douglas Mayle wrote:
          >>> Jeff, do you have the same problem when connecting to the demos 
          >>> available on Xinha.org?
          >>
          >> No, those work as expected.
          >>
          >>  If this is only on your embedded Xinha, what
          >>> happens when you start typing?  Does it put the cursor in the correct 
          >>> place, or does the text appear wrong as well?
          >>
          >> It's just like the edge of the toolbar is the left window edge.  
          >> Hitting enter takes you right back to the same incorrect margin.
          >>  Is there any way you
          >>> could expose this page publicly so I could take a look?
          >>
          >> That page is, as you probably guessed, available only inside our lan, 
          >> so I made a test page on the outside web server that exhibits the same 
          >> problem.
          >>
          >> http://www.wykids.org/test/
          >>
          >> My xinha_config.js file is echoed to the screen following the submit 
          >> form.
          >>
          >>> Thanks,
          >>> Douglas Mayle
          >>
          >> Thank you for the quick response!
          >>
          >> One other thing I noticed.  When I initially installed Xinha I was 
          >> using the default toolbar.  Instead of filling the top of the text 
          >> area, it made a box about 6 lines high and maybe 200 pixels wide.  Now 
          >> I notice on the initial page load that the textarea is huge--like 
          >> after the toolbar is drawn it is missing a page break to force 
          >> everything down to a new line.
          >>
          >> My javascript skills are pretty minimal or I'd dig in and see what I 
          >> could find.
          >>
          >> If there is anything else I can do, please let me know.
          > I see what's wrong, but I'm not yet sure why.  I'll try to take a look 
          > over the weekend...
          > 
          
          Just wondering if there is a mis-configuration or something on my end 
          that I can change to get this to work.
          
          Thanks,
          
          Jeff
          
          
          • Re: Cursor directly below end of toolbar?

            from douglas on Nov 19, 2008 04:04 PM
            Okay, Nicholas and I paried on this and finally found out what the  
            issue is.  Xinha panels have their classes set "panel left", "panel  
            right", etc.  and you have a css rule for ".left".  EIther you can  
            remove it, or you can use the updated Xinha which now uses  
            "panel_left" for it's class name.  See Ticket #1332:
            
            http://trac.xinha.org/ticket/1332
            
            Douglas Mayle
            The Open Planning Project
            
            On Nov 19, 2008, at 2:40 PM, Jeff Ross wrote:
            
            > Douglas Mayle wrote:
            >> On Nov 7, 2008, at 5:34 PM, Jeff Ross wrote:
            >>> Douglas Mayle wrote:
            >>>> Jeff, do you have the same problem when connecting to the demos  
            >>>> available on Xinha.org?
            >>>
            >>> No, those work as expected.
            >>>
            >>> If this is only on your embedded Xinha, what
            >>>> happens when you start typing?  Does it put the cursor in the  
            >>>> correct place, or does the text appear wrong as well?
            >>>
            >>> It's just like the edge of the toolbar is the left window edge.   
            >>> Hitting enter takes you right back to the same incorrect margin.
            >>> Is there any way you
            >>>> could expose this page publicly so I could take a look?
            >>>
            >>> That page is, as you probably guessed, available only inside our  
            >>> lan, so I made a test page on the outside web server that exhibits  
            >>> the same problem.
            >>>
            >>> http://www.wykids.org/test/
            >>>
            >>> My xinha_config.js file is echoed to the screen following the  
            >>> submit form.
            >>>
            >>>> Thanks,
            >>>> Douglas Mayle
            >>>
            >>> Thank you for the quick response!
            >>>
            >>> One other thing I noticed.  When I initially installed Xinha I was  
            >>> using the default toolbar.  Instead of filling the top of the text  
            >>> area, it made a box about 6 lines high and maybe 200 pixels wide.   
            >>> Now I notice on the initial page load that the textarea is huge-- 
            >>> like after the toolbar is drawn it is missing a page break to  
            >>> force everything down to a new line.
            >>>
            >>> My javascript skills are pretty minimal or I'd dig in and see what  
            >>> I could find.
            >>>
            >>> If there is anything else I can do, please let me know.
            >> I see what's wrong, but I'm not yet sure why.  I'll try to take a  
            >> look over the weekend...
            >
            > Just wondering if there is a mis-configuration or something on my  
            > end that I can change to get this to work.
            >
            > Thanks,
            >
            > Jeff
            >
            >
            >
            > --
            > Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1227123689162
            > To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@... 
            > .  Please contact xinha-discussion-manager@... for  
            > questions.
            >
            
            
            • Re: Cursor directly below end of toolbar?

              from Jeff Ross on Nov 19, 2008 06:39 PM
              Douglas Mayle wrote:
              > Okay, Nicholas and I paried on this and finally found out what the issue 
              > is.  Xinha panels have their classes set "panel left", "panel right", 
              > etc.  and you have a css rule for ".left".  EIther you can remove it, or 
              > you can use the updated Xinha which now uses "panel_left" for it's class 
              > name.  See Ticket #1332:
              > 
              
              I'll take the snapshot, thanks!  I want to use Xinha in quite a few 
              different sites, and I think they all have a .left class.
              
              Thanks so much!
              
              Jeff
              > http://trac.xinha.org/ticket/1332
              > 
              > Douglas Mayle
              > The Open Planning Project
              > 
              > On Nov 19, 2008, at 2:40 PM, Jeff Ross wrote:
              > 
              >> Douglas Mayle wrote:
              >>> On Nov 7, 2008, at 5:34 PM, Jeff Ross wrote:
              >>>> Douglas Mayle wrote:
              >>>>> Jeff, do you have the same problem when connecting to the demos 
              >>>>> available on Xinha.org?
              >>>>
              >>>> No, those work as expected.
              >>>>
              >>>> If this is only on your embedded Xinha, what
              >>>>> happens when you start typing?  Does it put the cursor in the 
              >>>>> correct place, or does the text appear wrong as well?
              >>>>
              >>>> It's just like the edge of the toolbar is the left window edge.  
              >>>> Hitting enter takes you right back to the same incorrect margin.
              >>>> Is there any way you
              >>>>> could expose this page publicly so I could take a look?
              >>>>
              >>>> That page is, as you probably guessed, available only inside our 
              >>>> lan, so I made a test page on the outside web server that exhibits 
              >>>> the same problem.
              >>>>
              >>>> http://www.wykids.org/test/
              >>>>
              >>>> My xinha_config.js file is echoed to the screen following the submit 
              >>>> form.
              >>>>
              >>>>> Thanks,
              >>>>> Douglas Mayle
              >>>>
              >>>> Thank you for the quick response!
              >>>>
              >>>> One other thing I noticed.  When I initially installed Xinha I was 
              >>>> using the default toolbar.  Instead of filling the top of the text 
              >>>> area, it made a box about 6 lines high and maybe 200 pixels wide.  
              >>>> Now I notice on the initial page load that the textarea is 
              >>>> huge--like after the toolbar is drawn it is missing a page break to 
              >>>> force everything down to a new line.
              >>>>
              >>>> My javascript skills are pretty minimal or I'd dig in and see what I 
              >>>> could find.
              >>>>
              >>>> If there is anything else I can do, please let me know.
              >>> I see what's wrong, but I'm not yet sure why.  I'll try to take a 
              >>> look over the weekend...
              >>
              >> Just wondering if there is a mis-configuration or something on my end 
              >> that I can change to get this to work.
              >>
              >> Thanks,
              >>
              >> Jeff
              >>
              >>
              >>
              >> -- 
              >> Archive: 
              >> http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1227123689162 
              >>
              >> To unsubscribe send an email with subject "unsubscribe" to 
              >> xinha-discussion@....  Please contact 
              >> xinha-discussion-manager@... for questions.
              >>
              > 
              > 
              > 
              > -- 
              > Archive: 
              > http://www.openplans.org/projects/xinha/lists/xinha-discussion/archive/2008/11/1227128647371 
              > 
              > To unsubscribe send an email with subject "unsubscribe" to 
              > xinha-discussion@....  Please contact 
              > xinha-discussion-manager@... for questions.
              > 
              > 
              > !DSPAM:492480af141241970415933!
              > 
              
              
      • Re: Cursor directly below end of toolbar?

        from davistv on Nov 07, 2008 10:18 PM
        On Nov 07, 2008 05:34 PM, Jeff Ross wrote:
        > http://www.wykids.org/test/
        
        Hi Jeff,
        
        I don't know if this will fix the problem or not, but it's a good idea anyway.
        Take a look at these HTML errors found by the W3 Validator:
        
        http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wykids.org%2Ftest%2Fdefault.html&charset=%28detect+automatically%29&doctype=Inline&group=0
        
        The first three errors are simple enough to resolve, change:
        
        <textarea id="xinha" name="description" width="100%">
        
        to:
        
        <textarea id="xinha" name="description" rows="10" cols="50" style="width:
        100%"></textarea>
        
        This is per the documentation:
        
        http://trac.xinha.org/wiki/NewbieGuide
        
        HTH!
        Troy
        • Re: Re: Cursor directly below end of toolbar?

          from Jeff Ross on Nov 07, 2008 10:44 PM
          Troy Davis wrote:
          > On Nov 07, 2008 05:34 PM, Jeff Ross wrote:
          >> http://www.wykids.org/test/
          > 
          > Hi Jeff,
          > 
          > I don't know if this will fix the problem or not, but it's a good idea anyway.
          > Take a look at these HTML errors found by the W3 Validator:
          > 
          > http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wykids.org%2Ftest%2Fdefault.html&charset=%28detect+automatically%29&doctype=Inline&group=0
          > 
          > The first three errors are simple enough to resolve, change:
          > 
          > <textarea id="xinha" name="description" width="100%">
          > 
          > to:
          > 
          > <textarea id="xinha" name="description" rows="10" cols="50" style="width:
          > 100%"></textarea>
          > 
          > This is per the documentation:
          > 
          > http://trac.xinha.org/wiki/NewbieGuide
          > 
          > HTH!
          > Troy
          > 
          
          Okay, that was worth looking at.  I fixed all 4 validation errors but 
          still have the same problem.
          
          Jeff
          
          
          > --
          > Archive: http://www.openplans.org/projects/xinha/lists/xinha-discussion/xinha-discussion/xinha-discussion/archive/2008/11/1226114315251
          > To unsubscribe send an email with subject "unsubscribe" to xinha-discussion@....  Please contact xinha-discussion-manager@... for questions.
          > 
          > 
          > !DSPAM:491505b0222722208097181!
          >