0

I have spent hours to think how to get this thing working without any success , what I want to add background image to selected paragraph in tiny mce, I can do that using style dropdown in rich text editor but I want to extend that image dynamically when the selected paragraph text extend. This can be done using 3 divs like:

<div id="top"></div>
<div id="center"><p></p></div>
<div id="bottom"></div>

But the issue is I can't do that using rich text editor tiny mce, and I want to give that ability to front end user who can just select the paragaraph and set the styling from dropdown in order to show the background image to that paragraph on the website, I have included the background image just for guidance, can any one provide any assistance or suggestions on how to get this thing working. Here's the background image: enter image description here

4

1 回答 1

0

您可以使用TinyMCE 的“模板”插件

TinyMCE 的“MySnippets”包

希望这可以帮助

于 2013-02-12T17:26:29.880 回答