function loadCss() {
			var linkElm;

			if (editor.inline && addedInlineCss) {
				return;
			}

			if (!editor.inline && addedCss) {
				return;
			}

			if (editor.inline) {
				addedInlineCss = true;
			} else {
				addedCss = true;
			}

			linkElm = editor.dom.create('link', {
				rel: 'stylesheet',
				href: pluginUrl + '/css/prism.css'
			});

			editor.getDoc().getElementsByTagName('head')[0].appendChild(linkElm);
		}
Main plugin logic.

@class tinymce.codesample.Plugin
@private