Submitted by jnmwarren on 2018/11/24 11:20
It seems to me that the Doc Pane has change a lot from v110 to v111. Now when I paste my html from a text editor to the Doc Pane the Doc Pane does not convert the HTML to a document like it did before. The text editor looks like this.
 
 
Then I take this HTML document and paste it into the Doc Pane and I get the following.
 
 
Before v111 when I would paste the HTML code in the Doc Pane I would get the following.
 
 
As you can tell the document is rendered correct without seeing the code. Then if I wanted to see the code to format the text I could click on the View HTML code. Now when you click the View HTML code button you no longer see the code either.
 
 
These are very significant changes that are not beneficial to me. Since I can no longer edit the document nor control the appearance of the document. Also if I try to paste the text document into the Doc Pane as RTF it by passes the Default.css that I have setup as well. Also pasting it as plain text does not make a difference either.

Comments

Works fine for me !
 
I have just pasted some HTML code into a test page and it was displayed correctly.
 
I can also switch the Doc Pane to view and edit the HTML just like before.
 
I am using v111a.
 
There must be a difference between your setup and mine.
 

jnmwarren

2018/11/24 11:46

In reply to by Paul_J_Miller

Paul, Thanks, I did some more testing and discovered what most likely was the issue. I was using Visual Code Studio as a text editor. The copy HTML code from the VS editor to the Doc Pane was copying the theme that is being used in the editor. I switched to Atom as a text editor and the copy and past worked like is should. Because the copy and paste as HTML was not coping and pasting the theme from Atom just the HTML code.
 

jnmwarren

2018/11/24 12:26

In reply to by Paul_J_Miller

I have used Notepad++ and Atom both. I am beginning to like Atom better only because of the extensions/packages/plugins that you can add for Markdown. I like to use Markdown more than I do just plain text. I wish that the Doc Pane supported native Markdown similar to HTML. But I don't mind using HTML either. It is pretty easy to convert an HTML document to plain text if needed.

Pierre_Admin

2018/11/24 15:30

In reply to by jnmwarren

[quote=jnmwarren]
I like to use Markdown more than I do just plain text. I wish that the Doc Pane supported native Markdown similar to HTML. But I don't mind using HTML either. It is pretty easy to convert an HTML document to plain text if needed.
[/quote]
Hi,
 
You know that Markdown IS supported in the Doc pane ?
If you open 2 Doc panes, you can even have one pane show the plain text and the other pane show the HTML render, which automatically updates as soon as you save the plain text version.
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/11/24 16:15

In reply to by Pierre_Admin

I might start using the Markdown more. I do like html though because it does not create a separate file whereas the Markdown does. The other thing that would be nice if the html code and text would wrap with the Doc Pane.

Pierre_Admin

2018/11/24 16:58

In reply to by jnmwarren

[quote=jnmwarren]
I might start using the Markdown more. I do like html though because it does not create a separate file whereas the Markdown does. The other thing that would be nice if the html code and text would wrap with the Doc Pane.
[/quote]
  1. I'm considering supporting 2 new embedded text formats: (1) plain text and (2) Markdown. So separate files would not be used
  2. The Doc pane code view now has a "break line longer than" setting. If you set this to a small number (mine is set to 20), it is quite nice, with lines nearly always starting with a tag (P, Div). It is unusual, I agree, but had advantages. Try it out !
HTH !
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/11/24 17:21

In reply to by Pierre_Admin

Pierre,
I will give that break line a test.
 
Also the two embedded formats as additions would be a great upgrade. I look forward to this change for sure.