shadoof / rtwtr

reading through writing through ...
GNU General Public License v3.0
0 stars 1 forks source link

allow <p> tag etc. to pass through into content (inner html?) so there is a simple way to change font (and other style properties) #29

Open shadoof opened 4 years ago

shadoof commented 4 years ago

example at end of section 17.

If difficult then low priority; but for any text-editing tool such as rtwtr could become, being able to switch fonts in mid section, or unit, etc. is, in principle, important.

cqx931 commented 4 years ago

I need to temporarily replace this example with a general <pb/> tag https://github.com/shadoof/rtwtr/pull/33/commits/e40a6a382fcf727fa8b1839ffdbabc2c1962df13

I am not sure we should support <p> tag into inner HTML. This sounds like a duplicate with the existing <pb/> tag. If we do want to pass attributes, I think it's better to support that for wrapper tags such as <ub>. If we want this feature separated from the <ub> tag, there needs to be some significant changes made first to the parser structure.