ekit-info Mailing List for Ekit (Java HTML Editor)
Brought to you by:
hexidec
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(4) |
Oct
(1) |
Nov
(2) |
Dec
(4) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(1) |
Feb
|
Mar
(6) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Kees J. <ke...@dd...> - 2003-04-06 22:14:08
|
On Sunday 06 April 2003 11:54 pm, Samuel Alfonso "Vel=E1zquez" "D=EDaz" wro=
te:
> Hi!,
>
> About a RMI solution to this... I think I would
> consider this solution only in an intranet
> environment. I my case this wold be hard to implement,
> because the applet may be used in an internet/WAN
> environment and the permanent socket that RMI needs
> may not be posible in some cases and the known issues
> regarding to firewalls with RMI would be hard for me
> to get this feature going with RMI in this scenario.
Hi
no. I'm not talking about a rmi (aldo i might use it)
Im just talking about an interface
public interface FileInterface {
public String getBaseName();
public String getDirName();
public byte[] getData();
public FileInterface getParentFile();
public void setData(byte [] data);
public boolean isDirectory();
public boolean mkdir();
public boolean mkfile();
public FileInterface[] getFileList();
public java.net.URL toURL();
public boolean exists();
public long length();
public boolean delete();
public boolean renameTo(FileInterface fileInterface);
}
that can be implemented differen way's (one can be rmi or an other can be x=
ml=20
+ http post's)
http://carlit.mine.nu/~keesj/vfs/vfs/
(currently i only have a local file implementation .. :(
=46ile file =3D new FileFacade(new LocalFileImplementation(new=20
=46ile("/home/keesj/")));
to only real benefit is that there is not need to rewite the FileChooser an=
d=20
such.
>
> May be a beter solution would be to use a Java class
> to wrap HTTP calls to a serverside script PHP/JSP that
> could act as a bridge to the serverside file system.
that's wat i'm talking about.
>
> A more elegant solution would be to use web-services
> to provide this feature on the server side, but the
> applet would need the necesary classes to provide the
> comunication to server wich would substancially
> increment the applet jar size.
Dove?
|
|
From: Samuel A. V. D. <sam...@ya...> - 2003-04-06 21:54:18
|
Hi!, --- Kees Jongenburger <ke...@dd...> wrote: > I'm realy interrested in this. I would also like to > be able to reuse uploaded > images. in order to do this I have wrote "RemoteFile > that extends > java.io.File" so that you can "browse" the "virtual" > directory on the remote > server. I think this code/way of coding can work but > there are some drawbacks > (FileInputStream calls native method so opening file > has to be done with an > other class (MyFileInputStream)) About a RMI solution to this... I think I would consider this solution only in an intranet environment. I my case this wold be hard to implement, because the applet may be used in an internet/WAN environment and the permanent socket that RMI needs may not be posible in some cases and the known issues regarding to firewalls with RMI would be hard for me to get this feature going with RMI in this scenario. May be a beter solution would be to use a Java class to wrap HTTP calls to a serverside script PHP/JSP that could act as a bridge to the serverside file system. A more elegant solution would be to use web-services to provide this feature on the server side, but the applet would need the necesary classes to provide the comunication to server wich would substancially increment the applet jar size. > my code isn't "production" ready yet. and for the > moment I just want to know > if there is animo to lets other people work on the > project. if so I like to > write a smal requirement docs etc.. I don't think that ekit source code it self is bulet proff code, but some how with a new release I think we may attract more developers/testers/users. Even my code is not "production" ready, but I think that if someone helps testing it it would be easier to drive the code to a production state. About writnig requirements/specification docs I think that we need also a user account in CVS to create/update the necesary code parts. That is why I Cc. copied my last email to Howard Kistler, he is the the project mannager and owner of the ekit source code. Regards! ===== Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-04-06 03:50:39
|
Hi Kees and Howard, I'm working with ekit, I'm trying to adapt ekit to my customer needs. He needs to use ekit to provide online html WYSIWYG editing functionality, so far I have signed ekit applet, fully transalated to Spanish MX locale, fixed a bug regarding image generation and implemented a functionality to upload the content (HTML) and the images to the server (PHP, JSP) in an independant maner using a java.net.URL object to perform a POST and encoding the images in base64 format. So far, so good. But MUTCH WORK to do ahead!.... Specialy some bugs with regarding to tables and caret positioning. I would very mutch like to share ideas with you, I'd like you to send me your ICQ or Microsoft Messenger contact, so we can share ideas... Or if you like to, we could use this list too, so every body can get benificiated from our work!!!! Regards!!!! P.D. Great job! Howard, I think some one should merge Kees changes and mines into a new relese of ekit, rigth? --- Kees Jongenburger <ke...@dd...> wrote: > Hi, > > I was very happy to find the ekit application. > It's been something I have been lookig for for a > while. > > every time I find such an "applet" of "application" > and look into the code it > just scares me of. > > But this time i was quite pleased :) thank you. > > Anyway I would like to help to make the application > even beter. > > I have made some minor modification. > > First i started on creating xhtml/xml compatible > output . therefore I created > com/hexidec/ekit/component/XHTMLWriter.java > that uses a modified version of nanoxml > (http://nanoxml.sourceforge.net) > > full source code can be found here .. but not for > ever :) > (see) http://carlit.mine.nu/ekit/ekit.tar.gz > > secondly I started on the remote file management. > maybe we can share some > ideas. > > third (just for fun) created a webstart application > for ekit > http://carlit.mine.nu/ekit/ekit.jnlp > > Is any help apreciated or should I keep my code > somewhere else? > > > thanks again > keesj ===== Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
|
From: Kees J. <ke...@dd...> - 2003-04-05 12:52:58
|
Hi, I was very happy to find the ekit application. It's been something I have been lookig for for a while. every time I find such an "applet" of "application" and look into the code it just scares me of. But this time i was quite pleased :) thank you. Anyway I would like to help to make the application even beter. I have made some minor modification. First i started on creating xhtml/xml compatible output . therefore I created com/hexidec/ekit/component/XHTMLWriter.java that uses a modified version of nanoxml (http://nanoxml.sourceforge.net) full source code can be found here .. but not for ever :) (see) http://carlit.mine.nu/ekit/ekit.tar.gz secondly I started on the remote file management. maybe we can share some ideas. third (just for fun) created a webstart application for ekit http://carlit.mine.nu/ekit/ekit.jnlp Is any help apreciated or should I keep my code somewhere else? thanks again keesj |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-03-16 21:28:23
|
Finally I found it is very simple: EkitApplet.java: Vector vcMenus = new Vector(); // This was the line I needed to add vcMenus.add(EkitCore.KEY_MENU_FILE); vcMenus.add(EkitCore.KEY_MENU_EDIT); vcMenus.add(EkitCore.KEY_MENU_VIEW); //... this.setJMenuBar(ekitCore.getCustomMenuBar(vcMenus)); If someone is on the same journey to make its way to Ekit source code this may help. Regards! Samuel Alfonso Velázquez Díaz <sam...@ya...> wrote: Hi I have a very basic question.... I have jarsigned ekit applet in order to allow to save documents and to load images. But I have a big problem, the situation is: A.- When I run the applet a call to ekitCore = new EkitCore(sRawDocument, urlCSS, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry); 7 arguments constructor is made and no "FILE" menu apears. B.- When I run ekit stand alone there is a call to ekitCore = new EkitCore(sDocument, sStyleSheet, sRawDocument, urlStyleSheet, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, debugMode); 10 argument constructor and a "FILE" menu apears. Now all the constructors narrow to the same master constructor wich in turn builds the the "FILE" menu as well as other menus, but I haven been able to determine why I'm not seeing the "FILE" menu. Any help? Regards Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-03-16 20:27:41
|
Hi I have a very basic question.... I have jarsigned ekit applet in order to allow to save documents and to load images. But I have a big problem, the situation is: A.- When I run the applet a call to ekitCore = new EkitCore(sRawDocument, urlCSS, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry); 7 arguments constructor is made and no "FILE" menu apears. B.- When I run ekit stand alone there is a call to ekitCore = new EkitCore(sDocument, sStyleSheet, sRawDocument, urlStyleSheet, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, debugMode); 10 argument constructor and a "FILE" menu apears. Now all the constructors narrow to the same master constructor wich in turn builds the the "FILE" menu as well as other menus, but I haven been able to determine why I'm not seeing the "FILE" menu. Any help? Regards Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-03-14 05:37:50
|
Hi, I found a bug tha may be easily fixed: When I press repeatedly backspace key, the caret (position) goes up to the <head> tags, and thus if the user types anything it does not get reflected (<head> code should not be user visible) still I haven't find the code where it handles this key, any ideas? Regards! Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-03-14 00:54:18
|
I'm trying to get the big picture with Ekit!!!! I'm no big expert with swing. As far as I have seen JTextPane is the component used to redender the document. --------> I belive this class is fine, plase comment. HTMLDocument is the model to hold the data. ---> I don't know mutch about this class only is that is the class that represents the model. HTMLEditorKit is extended by ekit in com.hexidec.ekit.component.ExtendedHTMLEditorKit I think that in order fix the tables issues, whe have to determine first the scenarios!! for instance: Is the HTML generated rigth or is it the render process what's wrong? Regards! Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online |
|
From: troels <tr...@we...> - 2003-03-13 22:07:02
|
> Is someone listening to this list? yap! i must admit that due to the relative incompleteness of ekit, i use a msie- based wysiwyg editor at current. a thing that would make me seriously consider changing back to ekit would be if the tables editor came to work. /troels |
|
From: Samuel A. V. D. <sam...@ya...> - 2003-03-13 20:22:22
|
Is someone listening to this list? Regards! Samuel Alfonso Velázquez Díaz http://www.geocities.com/samuelvd sam...@ya... --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online |
|
From: Scott C. <sco...@mi...> - 2003-01-29 01:50:49
|
I changed the demo page to the following and I get a exception when I cop=
y text from the textbox to the editor. I'm using IE 5.5.4807.2300 with S=
un's Java 1.4.1.
Can anyone tell me how to get this to work seamlessly? What I need to be=
able to do is to pre-set the text from a hidden text field into the edit=
or when the editor is loaded.
Thanks!
Scott
<HTML>
<HEAD>
<TITLE>Ekit Applet Demo</TITLE>
</HEAD>
<BODY>
<FORM NAME=3D"EkitDemoForm">
<H1>Ekit Applet Demo</H1>
<BR>
<SCRIPT LANGUAGE=3D"JavaScript">
var _info =3D navigator.userAgent;
var _ns =3D false;
var _ie =3D (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 &&=
_info.indexOf("Windows 3.1") < 0);
</SCRIPT>
<SCRIPT LANGUAGE=3D"JavaScript1.1">
var _ns =3D (navigator.appName.indexOf("Netscape") >=3D 0 && ((_info.=
indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getP=
roperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) |=
| (_info.indexOf("Linux") > 0)));
</SCRIPT>
<SCRIPT LANGUAGE=3D"JavaScript">
if (_ie =3D=3D true) document.writeln('<OBJECT ID=3D"Ekit" class=
id=3D"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=3D"500" HEIGHT=3D=
"400" codebase=3D"http://java.sun.com/products/plugin/1.3/jinstall-13-win=
32.cab#Version=3D1,3,0,0"><NOEMBED><XMP>');
else if (_ns =3D=3D true) document.writeln('<EMBED NAME=3D"Ekit" type=
=3D"application/x-java-applet;version=3D1.3" CODE=3D"com.hexidec.ekit.Eki=
tApplet.class" ARCHIVE=3D"ekitapplet.jar" WIDTH=3D"500" HEIGHT=3D"400" pl=
uginspage=3D"http://java.sun.com/products/plugin/1.3/plugin-install.html"=
><NOEMBED><XMP>');
</SCRIPT>
<APPLET CODEBASE=3D"." CODE=3D"com.hexidec.ekit.EkitApplet.class" ARCHIVE=
=3D"ekitapplet.jar" NAME=3D"Ekit" WIDTH=3D"500" HEIGHT=3D"400"></XMP>
=09<PARAM NAME=3D"codebase" VALUE=3D".">
=09<PARAM NAME=3D"code" VALUE=3D"com.hexidec.ekit.EkitApplet.class">
=09<PARAM NAME=3D"archive" VALUE=3D"ekitapplet.jar">
=09<PARAM NAME=3D"type" VALUE=3D"application/x-java-applet;version=3D1.3"=
>
=09<PARAM NAME=3D"scriptable" VALUE=3D"true">
=09<PARAM NAME=3D"DOCUMENT" VALUE=3D"<html><head></head><body><P><B>Embed=
ded Document</B></P><P>This is an <I>embedded</I> test parameter formatte=
d as an <U>HTML</U> document.</body></html>">
=09<PARAM NAME=3D"STYLESHEET" VALUE=3D"ekit.css">
=09<PARAM NAME=3D"LANGCODE" VALUE=3D"en">
=09<PARAM NAME=3D"LANGCOUNTRY" VALUE=3D"US">
=09<PARAM NAME=3D"TOOLBAR" VALUE=3D"true">
=09<PARAM NAME=3D"SOURCEVIEW" VALUE=3D"false">
=09<PARAM NAME=3D"EXCLUSIVE" VALUE=3D"true">
=09<PARAM NAME=3D"MENUICONS" VALUE=3D"true">
</APPLET>
</NOEMBED></EMBED></OBJECT>
<BR>
=09<SCRIPT LANGUAGE=3D"JavaScript">
=09=09function copyText()
=09=09{
=09=09=09document.EkitDemoForm.TextViewer.value =3D document.EkitDemoForm=
=2EEkit.getDocumentBody();
=09=09}
=09</SCRIPT>
=09<SCRIPT LANGUAGE=3D"JavaScript">
=09=09function copyHtml()
=09=09{
=09=09=09return document.EkitDemoForm.Ekit.setDocumentText(document.EkitD=
emoForm.TextViewer.value);
=09=09}
=09</SCRIPT>
=09<INPUT TYPE=3D"button" ONCLICK=3D"copyText()" VALUE=3D"copy to textare=
a">
=09<INPUT TYPE=3D"button" ONCLICK=3D"copyHtml()" VALUE=3D"copy from texta=
rea">
=09<BR>
<TEXTAREA NAME=3D"TextViewer" COLS=3D"80" ROWS=3D"20"></TEXTAREA>
</FORM>
</BODY>
</HTML>
|
|
From: troels <tr...@we...> - 2002-12-12 17:58:22
|
> hi,
> since my javascript knowledge quite bad, does somebody have an example
> on how to integreate the ekit-applet it in a <form> with autocopy to
> hidden textarea field when submit button is hit?
> bodo
out of memory, since i'm not near my computer right now, something like this :
<script type="javascript">
function formsubmit()
{
document.EkitDemoForm.data.value =
document.EkitDemoForm.Ekit.getDocumentText();
return true;
}
</script>
<form id="EkitDemoForm" method="post" onsubmit="return formsumit();">
(insert applet here ... )
<input type="hidden" id="data" />
<input type="submit" />
</form>
|
|
From: Bodo T. <bo...@ge...> - 2002-12-11 21:00:58
|
hi, since my javascript knowledge quite bad, does somebody have an example on how to integreate the ekit-applet it in a <form> with autocopy to hidden textarea field when submit button is hit? bodo |
|
From: troels <tr...@we...> - 2002-12-05 18:30:34
|
> 2. Just a suggestion, but I was thinking that for my needs (integration > with a CMS), I'd like the buttons laid out a little differently and that it > would be great if the creation of the button bar and the creation of the > menu were in their own functions. The advantage is that for me to make my > own layout I can just subclass Ekitapplet instead of hacking it. > on that point i agree ... i had the exact same problem, when trying to extend ekit. /troels |
|
From: Shawn J. W. <sh...@ju...> - 2002-12-05 16:53:14
|
I've got a question and a suggestion, both relating to the integration of Ekit into my CMS: 1. I've integrated the latest package perfectly using a hidden field and copying the contents of the applet using an onClick event in the submit button and that all works perfectly - however I noticed that when editing the html Ekit is not inserting <br> or <p> tags at all. It appears to be doing so, but when you click the preview html the tags aren't there and when you un-preview it's as if you never had those tags to begin with. The odd thing is that using the sample html provided in the tarball it works perfectly. I copied the embedding code straight from the example, so I'm not sure why it would act differently. The only things that are different are a:) my app runs in a frame and b) the object/applet is named differently (it's not "Ekit") - not sure if that makes any difference. I can attach the complete source to the page if any wants. 2. Just a suggestion, but I was thinking that for my needs (integration with a CMS), I'd like the buttons laid out a little differently and that it would be great if the creation of the button bar and the creation of the menu were in their own functions. The advantage is that for me to make my own layout I can just subclass Ekitapplet instead of hacking it. Shawn --- Shawn J. Wallace <sh...@ju...> Justweb Inc. -- http://www.justweb.com Tel: (519)652-6599 Fax: (519)652-9915 |
|
From: Fincom <fi...@fr...> - 2002-11-22 14:06:44
|
Hi,
I've download Ekit and find it very well. Like others, i tried to integra=
te=20
Ekit in an CMS, but the example of html page that came with Ekit doesn't =
work=20
under all navigators (IE, NS, Mozilla) ...
I've made an change in javascipt and now all work fine.
EkitAppletDemo2.html : changes the code with this
<SCRIPT LANGUAGE=3D"JavaScript">
var _info =3D navigator.userAgent;
var _ns =3D false;
var _ie =3D (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 &&=
=20
_info.indexOf("Windows 3.1") < 0);
=09function copyEntry()
{
=09=09if (_ie =3D=3D true) {
=09=09=09document.Formular.EkitH.innerText =3D document.Ekit.getDocumentT=
ext();
=09=09=09return true;
=09=09} else if (_ns =3D=3D true) {
=09=09=09alert("hi ns");
=09=09=09document.Formular.EkitH.innerText =3D document.Ekit.getDocumentT=
ext();
=09=09=09alert(document.Ekit.getDocumentText());
=09=09=09document.Formular.EkitH.value =3D document.Formular.EkitH.innerT=
ext;
=09=09=09alert(document.Formular.EkitH.value);
=09=09=09return true;
=09=09} else {
=09=09=09alert("hi else");
=09=09=09document.Formular.EkitH.value =3D document.Ekit.getDocumentText(=
);
=09=09=09alert(document.Ekit.getDocumentText());
document.Formular.EkitH.value =3D=20
document.Formular.EkitH.innerText;
=09=09=09alert(document.Formular.EkitH.value);
=09=09=09return true;
=09=09}
=09}
</SCRIPT>
Hope this help.
I have some problem with image. I have an error when trying to add an ima=
ge.=20
when i look in the code source of Ekith i found that it use the filechoos=
er=20
class. Or in order to access file from applet, it's important to sign the=
=20
jar.
I'll try to do it and give u result. Perhaps someone have a same problem=
, no=20
?
Thanks for all and Have Fun
Fincom
|
|
From: Kamala P. <k.p...@sh...> - 2002-11-05 12:15:14
|
Hi, I am trying to incorporate Ekit to our CMS. In order to provide extended access to nonvisual browsers it is necessary to include 'summary' attribute in all the tables. I have added that to EkitCore.java program and it is included with this email which I'm sure will be useful to others. I still find the CaretPosition does not recognise the cursor position when you are typing something to a table. Thanks! KP k.p...@sh... |
|
From: Gaetano B. <g.b...@ex...> - 2002-10-14 09:46:43
|
Hello, I'm interesting in using an HTML editor applet in Mac OS 9. Has anyone tested Ekit Applet with JDK 1.1 + Swing? Thanks, Gaetano Bigliardi |
|
From: troels <tr...@we...> - 2002-09-03 22:42:23
|
I dont know about the bug that Sebastian is having trouble with, but since some of you might be trying to incorporate Ekit in some sort of an CMS solution (using php), you might want to have a look at some modifications i've made to the code. The really interesting part is the one concerning insertion of images ; the applet communicates with a php-script, that returns URI's to images available ... but, give it a try ... /troels http://swaxi.fnuque.dk/ |
|
From: <Seb...@t-...> - 2002-09-03 16:27:16
|
Hi all!
I=B4d like to change the text in the applet using JavaScript (I=B4m writi=
ng a=20
database application with php and would like to use Ekit to edit the cont=
ents=20
of the database. The connection should be made with php, so I=B4m going t=
his=20
way).
The getDocumentText() works, so I added a second funtion for that:
public void setDocumentText(String newText)
{
jptMain.setText(newText);
jptSource.setText(jptMain.getText());
}
This works - but only sometimes. The other times the browser hangs; IE wo=
rks a=20
little better than mozilla.
Any hints?
Sebastian
PS: When testing the applet with Mozilla, it won=B4t read the parameters =
given=20
via html; IE works....
|
|
From: Jochen S. <joc...@em...> - 2002-09-02 14:33:12
|
ho...@at... schrieb: >I am thinking of adding a status bar to the bottom of the Ekit >window, showing the tag (at least) associated with the cursor >position in the editor. In other words, at a glance, while in >WYSIWYG mode, the user could see that the text their cursor is on is >an h3 (for example) without having to toggle to HTML mode. > >Has anyone attempted this? I'd love to not reinvent the wheel >here ... > > there is a faq-entry at jguru.com (swing faq) which explains how to find out where a link points to the mouse clicked at. That's helpful in that matter, but it leaves out some tags for some reasons (h3 e.g.). You'd have to have an iterator run over all tags like Vector elementMap; ElementIterator iterator = new ElementIterator(htmldoc); while ((element=iterator.next())!=null) { if (!element.getName().equals("content")) { System.out.println("Element "+element.getName()+" goes from "+Integer.toString(element.getStartOffset()) +" to "+Integer.toString(element.getEndOffset())); elementMap.add(element); } } and then look for element[i].getStartOffset<=caretPos&&element[i].getEndOffset>=caretPos. I haven't tested this but i assume it is quite time-consuming. So either you do it only on command or you determine when to rebuild your elementmap very good (probably at every change of the document). good luck |
|
From: <ho...@at...> - 2002-09-02 14:16:25
|
I am thinking of adding a status bar to the bottom of the Ekit window, showing the tag (at least) associated with the cursor position in the editor. In other words, at a glance, while in WYSIWYG mode, the user could see that the text their cursor is on is an h3 (for example) without having to toggle to HTML mode. Has anyone attempted this? I'd love to not reinvent the wheel here ... Thanks, Greg Holmes |
|
From: Jochen S. <joc...@em...> - 2002-08-23 07:31:49
|
Dino Damalas wrote:
>Not that this is an bug or issue, but I was trying to figure out how to add
>custom tags like "<expand>Some Text</expand>". I can't for the life of me
>figure out how to do it. I'm pretty sure it involves extending the
>HTMLFactory, but I can't figure out how to get it to recognize custom tags.
>Somebody must know!!
>
>
Hi Dino,
try
new FormatAction(new HTML.UnknownTag("expand")).actionPerformed(e);
greets
Jochen
|
|
From: Dino D. <dda...@br...> - 2002-08-22 18:44:25
|
Not that this is an bug or issue, but I was trying to figure out how to add custom tags like "<expand>Some Text</expand>". I can't for the life of me figure out how to do it. I'm pretty sure it involves extending the HTMLFactory, but I can't figure out how to get it to recognize custom tags. Somebody must know!! Besides, if you import an HTML page with html tags that it does not recognize it generates these text box like views and distorts the HTML within the pane. Sorry if this is completely out of scope of this project. I know this is not the forum or media to discuss such issues - just a last resort. Thanks, Dino -----Original Message----- From: eki...@li... [mailto:eki...@li...]On Behalf Of troels Sent: Thursday, August 22, 2002 2:33 PM To: Shawn Sutherland; eki...@li... Subject: Re: [Ekit-info] java version > Can anyone tell me which version of java you are compiling the applet with? > I am having no luck with Sun's 1.4.0_1. I want to make some changes, but I > cant get the applet to build correctly. I am new to java, so this may be > the problem, but perhaps I am just using the wrong version of java? (1.3 > instead?) > > thanks, > shawn you need to use the batch file (MakeEkitApplet.bat on windows), that comes with the release. /troels ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Ekit-info mailing list Eki...@li... https://lists.sourceforge.net/lists/listinfo/ekit-info |
|
From: troels <tr...@we...> - 2002-08-22 18:32:26
|
> Can anyone tell me which version of java you are compiling the applet with? > I am having no luck with Sun's 1.4.0_1. I want to make some changes, but I > cant get the applet to build correctly. I am new to java, so this may be > the problem, but perhaps I am just using the wrong version of java? (1.3 > instead?) > > thanks, > shawn you need to use the batch file (MakeEkitApplet.bat on windows), that comes with the release. /troels |