Home > front end >  To obtain the rich text added
To obtain the rich text added

Time:02-23

The background set rich text to add images and text & lt; P style="text - align: center;"> How the front-end for img tags set his style

CodePudding user response:

var div=document.createElement('div');
Div. InnerHTML='& lt; P style="text - align: center;"> '

Thus dom element string can be converted to the left is operating the dom to add style

CodePudding user response:

Thank you forget shows me this is written in vue
  • Related